﻿<!--
// (c) Copyright Microsoft Corporation.
// This source is subject to Microsoft Public License (Ms-PL).
// Please see http://go.microsoft.com/fwlink/?LinkID=131993 for details.
// All other rights reserved.
-->

<ResourceDictionary
  x:Uid="ResourceDictionary_1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  mc:Ignorable="d"
  xmlns:d="http://schemas.microsoft.com/expression/blend/2008">

    <!-- Main Colors -->

    <Color x:Uid="Color_1" x:Key="MainColor">#FF595959</Color>
    <Color x:Uid="Color_2" x:Key="HoverColor">#FF393939</Color>
    <Color x:Uid="Color_3" x:Key="DefaultColor">#FF9BB1C5</Color>
    <SolidColorBrush x:Uid="SolidColorBrush_1" x:Key="LightBrush" Color="#FF333333" />
    <SolidColorBrush x:Uid="SolidColorBrush_2" x:Key="ShadeBrush" Color="#FF434343" />

    <Color x:Uid="Color_4" x:Key="TopGradientSelectColor">#FFFFFFFF</Color>
    <Color x:Uid="Color_5" x:Key="BottomGradientSelectColor">#FF737373</Color>

    <Color x:Uid="Color_6" x:Key="BlackColor">#FF000000</Color>
    <Color x:Uid="Color_7" x:Key="WhiteColor">#FFFFFFFF</Color>

    <SolidColorBrush x:Uid="SolidColorBrush_3" x:Key="TextBrush" Color="#FFFFFFFF" />
    <SolidColorBrush x:Uid="SolidColorBrush_4" x:Key="NormalBrush" Color="{StaticResource MainColor}" />
    <SolidColorBrush x:Uid="SolidColorBrush_5" x:Key="NormalBorderBrush" Color="#FF333333" />
    <SolidColorBrush x:Uid="SolidColorBrush_6" x:Key="HoverBrush" Color="{StaticResource HoverColor}" />
    <SolidColorBrush x:Uid="SolidColorBrush_7" x:Key="GlyphBrush" Color="#FFD1D1D1" />

    <LinearGradientBrush x:Uid="LinearGradientBrush_1" x:Key="PressedBrush" EndPoint="0.5,0.971" StartPoint="0.5,0.042">
        <GradientStop x:Uid="GradientStop_1" Color="#4C000000" Offset="0" />
        <GradientStop x:Uid="GradientStop_2" Color="#26FFFFFF" Offset="1" />
        <GradientStop x:Uid="GradientStop_3" Color="#4C000000" Offset="0.467" />
        <GradientStop x:Uid="GradientStop_4" Color="#26FFFFFF" Offset="0.479" />
    </LinearGradientBrush>

    <SolidColorBrush x:Uid="SolidColorBrush_8" x:Key="ControlBackgroundBrush" Color="#FF333333" />

    <LinearGradientBrush x:Uid="LinearGradientBrush_2" x:Key="SelectedBackgroundBrush" EndPoint="0.5,1" StartPoint="0.5,0">
        <GradientStop x:Uid="GradientStop_5" Color="{StaticResource TopGradientSelectColor}" Offset="0" />
        <GradientStop x:Uid="GradientStop_6" Color="{StaticResource BottomGradientSelectColor}" Offset="1" />
    </LinearGradientBrush>

    <SolidColorBrush x:Uid="SolidColorBrush_9" x:Key="DisabledForegroundBrush" Color="#888" />
    <SolidColorBrush x:Uid="SolidColorBrush_10" x:Key="DisabledBackgroundBrush" Color="#FF787878" />
    <SolidColorBrush x:Uid="SolidColorBrush_11" x:Key="DisabledBorderBrush" Color="#AAA" />
    <SolidColorBrush x:Uid="SolidColorBrush_12" x:Key="WindowBackgroundBrush" Color="#FF595959" />

    <!-- EXPRESSION COMMON VALUES -->

    <LinearGradientBrush x:Uid="LinearGradientBrush_3" x:Key="ShineBrush" EndPoint="0.5,0.971" StartPoint="0.5,0.042">
        <GradientStop x:Uid="GradientStop_7" Color="#59FFFFFF" Offset="0" />
        <GradientStop x:Uid="GradientStop_8" Color="#00FFFFFF" Offset="1" />
        <GradientStop x:Uid="GradientStop_9" Color="#26FFFFFF" Offset="0.467" />
        <GradientStop x:Uid="GradientStop_10" Color="#00FFFFFF" Offset="0.475" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_4" x:Key="HoverShineBrush" EndPoint="0.5,0.971" StartPoint="0.5,0.042">
        <GradientStop x:Uid="GradientStop_11" Color="#4CFFFFFF" Offset="0" />
        <GradientStop x:Uid="GradientStop_12" Color="#26FFFFFF" Offset="1" />
        <GradientStop x:Uid="GradientStop_13" Color="#26FFFFFF" Offset="0.467" />
        <GradientStop x:Uid="GradientStop_14" Color="#00FFFFFF" Offset="0.475" />
        <GradientStop x:Uid="GradientStop_15" Color="#00FFFFFF" Offset="0.856" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Uid="LinearGradientBrush_5" x:Key="PressedBorderBrush" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_16" Color="#444" Offset="0.0" />
        <GradientStop x:Uid="GradientStop_17" Color="#888" Offset="1.0" />
    </LinearGradientBrush>

    <SolidColorBrush x:Uid="SolidColorBrush_13" x:Key="DefaultedBorderBrush" Color="{StaticResource DefaultColor}" />
    <SolidColorBrush x:Uid="SolidColorBrush_14" x:Key="SolidBorderBrush" Color="#888" />


    <Style x:Uid="Style_1" x:Key="NuclearButtonFocusVisual">
        <Setter x:Uid="Setter_1" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_1">
                    <Border x:Uid="Border_1">
                        <Rectangle x:Uid="Rectangle_1" Margin="2" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_2" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_2" Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}" />
        <Setter x:Uid="Setter_3" Property="Padding" Value="3" />
        <Setter x:Uid="Setter_4" Property="Background" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_5" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_6" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_7" Property="Template" Value="{DynamicResource ButtonTemplate}" />
   </Style>

    <ControlTemplate x:Uid="ControlTemplate_2" x:Key="ButtonTemplate" TargetType="{x:Type Button}">
        <ControlTemplate.Resources>
            <Storyboard x:Uid="Storyboard_1" x:Key="HoverOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_1" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_1" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_2" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_2" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>

            </Storyboard>
            <Storyboard x:Uid="Storyboard_2" x:Key="HoverOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_3" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_3" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_4" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_4" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>

            </Storyboard>
            <Storyboard x:Uid="Storyboard_3" x:Key="PressedOn">

                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_5" BeginTime="00:00:00" Storyboard.TargetName="PressedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_5" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>

            </Storyboard>
            <Storyboard x:Uid="Storyboard_4" x:Key="PressedOff">

                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_6" BeginTime="00:00:00" Storyboard.TargetName="PressedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_6" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>

            </Storyboard>
            <Storyboard x:Uid="Storyboard_5" x:Key="FocusedOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_7" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_7" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_6" x:Key="FocussedOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_8" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_8" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>

        </ControlTemplate.Resources>
        <Grid x:Uid="Grid" x:Name="Grid">
            <Border x:Uid="Background" x:Name="Background" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" />
            <Border x:Uid="HoverBorder" x:Name="HoverBorder" Opacity="0" Background="{StaticResource HoverBrush}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" />
            <Border x:Uid="HoverShineBorder" x:Name="HoverShineBorder" Opacity="0" Background="{StaticResource HoverShineBrush}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" />
            <Border x:Uid="PressedBorder" x:Name="PressedBorder" Opacity="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" Background="{StaticResource PressedBrush}" />
            <Border x:Uid="ShineBorder" x:Name="ShineBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" Background="{StaticResource ShineBrush}" Opacity="1" />
            <ContentPresenter x:Uid="ContentPresenter_1" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" RecognizesAccessKey="True" />
            <Border x:Uid="FocusVisualElement" x:Name="FocusVisualElement" IsHitTestVisible="false" BorderBrush="{StaticResource HoverShineBrush}" BorderThickness="1" CornerRadius="3,3,3,3" Margin="1,1,1,1" Opacity="0" />
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger x:Uid="Trigger_1" Property="IsDefault" Value="True">
                <Setter x:Uid="Setter_8" Property="BorderBrush" TargetName="ShineBorder" Value="{DynamicResource DefaultedBorderBrush}" />
            </Trigger>
            <Trigger x:Uid="Trigger_2" Property="IsKeyboardFocused" Value="true">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="FocussedOff_BeginStoryboard" Storyboard="{StaticResource FocussedOff}" x:Name="FocussedOff_BeginStoryboard" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="FocusedOn_BeginStoryboard" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard" />
                </Trigger.EnterActions>

            </Trigger>
            <Trigger x:Uid="Trigger_3" Property="IsMouseOver" Value="true">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_1" Storyboard="{StaticResource HoverOn}" />
                </Trigger.EnterActions>

            </Trigger>
            <Trigger x:Uid="Trigger_4" Property="IsPressed" Value="true">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_2" Storyboard="{StaticResource PressedOff}" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_3" Storyboard="{StaticResource PressedOn}" />
                </Trigger.EnterActions>
            </Trigger>
            <Trigger x:Uid="Trigger_5" Property="IsEnabled" Value="true" />
            <Trigger x:Uid="Trigger_6" Property="IsEnabled" Value="false">
                <Setter x:Uid="Setter_9" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Background" />
                <Setter x:Uid="Setter_10" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="ShineBorder" />
                <Setter x:Uid="Setter_11" Property="Opacity" TargetName="Grid" Value="0.5" />
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>

    <Style x:Uid="Style_3" x:Key="RadioButtonFocusVisual">
        <Setter x:Uid="Setter_12" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_3">
                    <Border x:Uid="Border_2">
                        <Rectangle x:Uid="Rectangle_2" Margin="15,0,0,0" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_4" x:Key="CheckBoxFocusVisual">
        <Setter x:Uid="Setter_13" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_4">
                    <Border x:Uid="Border_3">
                        <Rectangle x:Uid="Rectangle_3" Margin="15,0,0,0" Stroke="#60000000" StrokeThickness="1" StrokeDashArray="1 2" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_5" TargetType="{x:Type CheckBox}">
        <Setter x:Uid="Setter_14" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_15" Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}" />
        <Setter x:Uid="Setter_16" Property="Background" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_17" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_18" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_19" Property="Template" Value="{DynamicResource CheckBoxTemplate}" />
    </Style>

    <ControlTemplate x:Uid="ControlTemplate_5" x:Key="CheckBoxTemplate" TargetType="{x:Type CheckBox}">
        <ControlTemplate.Resources>
            <Storyboard x:Uid="Storyboard_7" x:Key="HoverOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_9" BeginTime="00:00:00" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_9" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_8" x:Key="HoverOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_10" BeginTime="00:00:00" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_10" KeyTime="00:00:00.4000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_9" x:Key="PressedOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_11" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_11" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_10" x:Key="PressedOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_12" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_12" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_11" x:Key="CheckedTrue">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_13" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_13" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_12" x:Key="CheckedFalse">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_14" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_14" KeyTime="00:00:00.4000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_13" x:Key="IndeterminateOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_15" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_15" KeyTime="00:00:00.2000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_14" x:Key="IndeterminateOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_16" Storyboard.TargetName="IndeterminateIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_16" KeyTime="00:00:00.4000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_15" x:Key="FocussedOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_17" BeginTime="00:00:00" Storyboard.TargetName="ContentFocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_17" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_16" x:Key="FocussedOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_18" BeginTime="00:00:00" Storyboard.TargetName="ContentFocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_18" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
        </ControlTemplate.Resources>
        <BulletDecorator x:Uid="bulletDecorator" Background="Transparent" x:Name="bulletDecorator">
            <BulletDecorator.Bullet>
                <Grid x:Uid="Grid_1" Width="16" Height="16">
                    <Rectangle x:Uid="Rectangle_4" Height="14" Margin="1" x:Name="Background" Width="14" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" />
                    <Rectangle x:Uid="BackgroundOverlay" Height="14" Margin="1" x:Name="BackgroundOverlay" Width="14" Opacity="0" Fill="{x:Null}" Stroke="{StaticResource HoverBrush}" StrokeThickness="2" />
                    <Rectangle x:Uid="PressedRectangle" Height="16" x:Name="PressedRectangle" Width="16" IsHitTestVisible="false" Opacity="0" Stroke="{StaticResource HoverBrush}" StrokeThickness="1" />
                    <Path x:Uid="CheckIcon" Height="10" Margin="1,1,0,1.5" x:Name="CheckIcon" Width="10.5" Opacity="0" Fill="{StaticResource GlyphBrush}" Stretch="Fill" Data="M102.03442,598.79645 L105.22962,597.78918 L106.78825,600.42358 C106.78825,600.42358 108.51028,595.74304 110.21724,593.60419 C112.00967,591.35822 114.89314,591.42316 114.89314,591.42316 C114.89314,591.42316 112.67844,593.42645 111.93174,594.44464 C110.7449,596.06293 107.15683,604.13837 107.15683,604.13837 z" />
                    <Rectangle x:Uid="IndeterminateIcon" Height="8" x:Name="IndeterminateIcon" Width="10" Opacity="0" Fill="{StaticResource GlyphBrush}" />
                    <Rectangle x:Uid="DisabledVisualElement" Height="14" x:Name="DisabledVisualElement" Width="14" Opacity="0" Fill="{StaticResource DisabledBackgroundBrush}" />
                    <Rectangle x:Uid="ContentFocusVisualElement" Height="16" x:Name="ContentFocusVisualElement" Width="16" IsHitTestVisible="false" Opacity="0" Stroke="{StaticResource HoverShineBrush}" StrokeThickness="1" />
                    <Rectangle x:Uid="ShineRectangle" Height="12" x:Name="ShineRectangle" Width="14" IsHitTestVisible="false" Opacity="1" Stroke="{x:Null}" StrokeThickness="1" Fill="{StaticResource ShineBrush}" Margin="2,2,2,2" />
                </Grid>
            </BulletDecorator.Bullet>
            <ContentPresenter x:Uid="ContentPresenter_2" RecognizesAccessKey="True" Margin="5,0,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" />
        </BulletDecorator>
        <ControlTemplate.Triggers>
            <Trigger x:Uid="Trigger_7" Property="IsFocused" Value="True">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_4" Storyboard="{StaticResource FocussedOff}" x:Name="FocussedOff_BeginStoryboard" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="FocussedOn_BeginStoryboard" Storyboard="{StaticResource FocussedOn}" x:Name="FocussedOn_BeginStoryboard" />
                </Trigger.EnterActions>
            </Trigger>
            <MultiTrigger x:Uid="MultiTrigger_1">
                <MultiTrigger.Conditions>
                    <Condition x:Uid="Condition_1" Property="IsChecked" Value="True" />
                    <Condition x:Uid="Condition_2" Property="IsThreeState" Value="True" />
                </MultiTrigger.Conditions>
                <MultiTrigger.EnterActions>
                    <BeginStoryboard x:Uid="ThreeStateOn_BeginStoryboard" x:Name="ThreeStateOn_BeginStoryboard" Storyboard="{StaticResource CheckedFalse}" />
                </MultiTrigger.EnterActions>
                <MultiTrigger.ExitActions>
                    <BeginStoryboard x:Uid="ThreeStateOff_BeginStoryboard" x:Name="ThreeStateOff_BeginStoryboard" Storyboard="{StaticResource CheckedTrue}" />
                </MultiTrigger.ExitActions>
            </MultiTrigger>
            <MultiTrigger x:Uid="MultiTrigger_2">
                <MultiTrigger.Conditions>
                    <Condition x:Uid="Condition_3" Property="IsChecked" Value="{x:Null}" />
                    <Condition x:Uid="Condition_4" Property="IsThreeState" Value="True" />
                </MultiTrigger.Conditions>
                <MultiTrigger.EnterActions>
                    <BeginStoryboard x:Uid="ThreeStateOn1_BeginStoryboard" x:Name="ThreeStateOn1_BeginStoryboard" Storyboard="{StaticResource IndeterminateOn}" />
                </MultiTrigger.EnterActions>
                <MultiTrigger.ExitActions>
                    <BeginStoryboard x:Uid="ThreeStateOff1_BeginStoryboard" x:Name="ThreeStateOff1_BeginStoryboard" Storyboard="{StaticResource IndeterminateOff}" />
                </MultiTrigger.ExitActions>
                <Setter x:Uid="Setter_20" Property="Visibility" TargetName="CheckIcon" Value="Hidden" />
            </MultiTrigger>
            <Trigger x:Uid="Trigger_8" Property="IsChecked" Value="True">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="CheckedTrue_BeginStoryboard" Storyboard="{StaticResource CheckedFalse}" x:Name="CheckedTrue_BeginStoryboard" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="CheckedTrue_BeginStoryboard1" x:Name="CheckedTrue_BeginStoryboard1" Storyboard="{StaticResource CheckedTrue}" />
                </Trigger.EnterActions>
            </Trigger>
            <Trigger x:Uid="Trigger_9" Property="IsMouseOver" Value="true">
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_5" Storyboard="{StaticResource HoverOn}" />
                </Trigger.EnterActions>
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_6" Storyboard="{StaticResource HoverOff}" />
                </Trigger.ExitActions>
            </Trigger>
            <Trigger x:Uid="Trigger_10" Property="IsEnabled" Value="false">
                <Setter x:Uid="Setter_21" Property="Fill" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Background" />
                <Setter x:Uid="Setter_22" Property="Stroke" Value="{DynamicResource DisabledBorderBrush}" TargetName="Background" />
                <Setter x:Uid="Setter_23" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                <Setter x:Uid="Setter_24" Property="Opacity" TargetName="bulletDecorator" Value="0.5" />
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>

    <Style x:Uid="Style_6" TargetType="{x:Type RadioButton}">
        <Setter x:Uid="Setter_25" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_26" Property="FocusVisualStyle" Value="{DynamicResource RadioButtonFocusVisual}" />
        <Setter x:Uid="Setter_27" Property="Background" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_28" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_29" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_30" Property="Template" Value="{DynamicResource RadioButtonTemplate}" />
        <Style.Triggers>
        </Style.Triggers>
    </Style>

    <ControlTemplate x:Uid="ControlTemplate_6" x:Key="RadioButtonTemplate" TargetType="{x:Type RadioButton}">
        <ControlTemplate.Resources>
            <Storyboard x:Uid="Storyboard_17" x:Key="HoverOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_19" BeginTime="00:00:00" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_19" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_18" x:Key="HoverOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_20" BeginTime="00:00:00" Storyboard.TargetName="BackgroundOverlay" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_20" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_19" x:Key="PressedOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_21" BeginTime="00:00:00" Storyboard.TargetName="PressedEllipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_21" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_20" x:Key="PressedOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_22" BeginTime="00:00:00" Storyboard.TargetName="PressedEllipse" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_22" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_21" x:Key="CheckedOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_23" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_23" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_22" x:Key="CheckedOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_24" Storyboard.TargetName="CheckIcon" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_24" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_23" x:Key="FocussedOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_25" BeginTime="00:00:00" Storyboard.TargetName="ContentFocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_25" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_24" x:Key="FocussedOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_26" BeginTime="00:00:00" Storyboard.TargetName="ContentFocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_26" KeyTime="00:00:00.3000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
        </ControlTemplate.Resources>
        <BulletDecorator x:Uid="BulletDecorator_1" Background="Transparent" x:Name="bulletDecorator">
            <BulletDecorator.Bullet>
                <Grid x:Uid="Grid_2" Width="16" Height="16">
                    <Ellipse x:Uid="Ellipse_1" Height="14" Margin="1" x:Name="Background" Width="14" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" />
                    <Ellipse x:Uid="Ellipse_2" Height="14" Margin="1" x:Name="BackgroundOverlay" Width="14" StrokeThickness="2" Stroke="{StaticResource HoverBrush}" Opacity="0" />
                    <Ellipse x:Uid="PressedEllipse" Height="14" Margin="1" x:Name="PressedEllipse" Width="14" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{StaticResource HoverBrush}" Opacity="0" />
                    <Ellipse x:Uid="Ellipse_3" Height="6" x:Name="CheckIcon" Width="6" Opacity="0" Fill="{StaticResource GlyphBrush}" />
                    <Ellipse x:Uid="Ellipse_4" Height="14" x:Name="DisabledVisualElement" Width="14" Opacity="0" Fill="{StaticResource DisabledBackgroundBrush}" />
                    <Ellipse x:Uid="Ellipse_5" Height="16" x:Name="ContentFocusVisualElement" Width="16" IsHitTestVisible="false" Opacity="0" Stroke="{StaticResource HoverShineBrush}" StrokeThickness="1" />
                    <Ellipse x:Uid="ShineEllipse" Height="12" Margin="2,2,2,2" x:Name="ShineEllipse" Width="12" StrokeThickness="{TemplateBinding BorderThickness}" Stroke="{x:Null}" Fill="{StaticResource ShineBrush}" />
                </Grid>
            </BulletDecorator.Bullet>
            <ContentPresenter x:Uid="ContentPresenter_3" RecognizesAccessKey="True" Margin="5,0,0,0" />
        </BulletDecorator>
        <ControlTemplate.Triggers>
            <Trigger x:Uid="Trigger_11" Property="IsFocused" Value="True">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_7" Storyboard="{StaticResource FocussedOff}" x:Name="FocussedOff_BeginStoryboard" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_8" Storyboard="{StaticResource FocussedOn}" x:Name="FocussedOn_BeginStoryboard" />
                </Trigger.EnterActions>
            </Trigger>
            <Trigger x:Uid="Trigger_12" Property="IsChecked" Value="false">

                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="CheckedOn_BeginStoryboard" x:Name="CheckedOn_BeginStoryboard" Storyboard="{StaticResource CheckedOn}" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="CheckedOff_BeginStoryboard" x:Name="CheckedOff_BeginStoryboard" Storyboard="{StaticResource CheckedOff}" />
                </Trigger.EnterActions>

            </Trigger>
            <Trigger x:Uid="Trigger_13" Property="IsChecked" Value="True" />
            <Trigger x:Uid="Trigger_14" Property="IsMouseOver" Value="true">

                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_9" x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_10" Storyboard="{StaticResource HoverOn}" />
                </Trigger.EnterActions>

            </Trigger>
            <Trigger x:Uid="Trigger_15" Property="IsPressed" Value="true">

                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="PressedOff_BeginStoryboard" x:Name="PressedOff_BeginStoryboard" Storyboard="{StaticResource PressedOff}" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="PressedOn_BeginStoryboard" x:Name="PressedOn_BeginStoryboard" Storyboard="{StaticResource PressedOn}" />
                </Trigger.EnterActions>

            </Trigger>
            <Trigger x:Uid="Trigger_16" Property="IsEnabled" Value="false">
                <Setter x:Uid="Setter_31" Property="Fill" TargetName="Background" Value="{DynamicResource DisabledBackgroundBrush}" />
                <Setter x:Uid="Setter_32" Property="Stroke" TargetName="Background" Value="{DynamicResource DisabledBorderBrush}" />
                <Setter x:Uid="Setter_33" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                <Setter x:Uid="Setter_34" Property="Opacity" TargetName="bulletDecorator" Value="0.5" />
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>

    <Style x:Uid="Style_7" d:IsControlPart="True" TargetType="{x:Type RepeatButton}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_35" Property="Background" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_36" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_37" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_7" TargetType="{x:Type RepeatButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_25" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_27" BeginTime="00:00:00" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_27" KeyTime="00:00:00.1000000" Value="0.8"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_26" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_28" BeginTime="00:00:00" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_28" KeyTime="00:00:00.3000000" Value="0.3"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_27" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_29" BeginTime="00:00:00" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_29" KeyTime="00:00:00.1000000" Value="0.1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_28" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_30" BeginTime="00:00:00" Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_30" KeyTime="00:00:00.3000000" Value="0.3"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_3">
                        <Border x:Uid="Border" x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}" Opacity="1" />
                        <ContentPresenter x:Uid="ContentPresenter" HorizontalAlignment="Center" x:Name="ContentPresenter" VerticalAlignment="Center" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" Opacity="0.3" Height="Auto" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_17" Property="IsKeyboardFocused" Value="true" />
                        <Trigger x:Uid="Trigger_18" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_11" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_12" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_19" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_13" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_14" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_20" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_38" Property="Opacity" TargetName="ContentPresenter" Value="0.1"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_8" x:Key="NuclearThumbStyle" d:IsControlPart="True" TargetType="{x:Type Thumb}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_39" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_8" TargetType="{x:Type Thumb}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_29" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_31" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_31" KeyTime="00:00:00.1000000" Value="0.8"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_30" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_32" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_32" KeyTime="00:00:00.3000000" Value="0.3"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_31" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_33" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_33" KeyTime="00:00:00.1000000" Value="0.1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_32" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_34" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_34" KeyTime="00:00:00.3000000" Value="0.3"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_4" Margin="0,0,0,0" x:Name="Grid">
                        <Rectangle x:Uid="HoverRectangle" HorizontalAlignment="Stretch" x:Name="HoverRectangle" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="3" RadiusY="4" Stroke="{x:Null}" Margin="4.5,-2,4.5,-2" Opacity="0.3" MinHeight="10">
                            <Rectangle.Fill>
                                <SolidColorBrush x:Uid="SolidColorBrush_15" Color="{DynamicResource WhiteColor}" />
                            </Rectangle.Fill>
                        </Rectangle>
                        <Rectangle x:Uid="Rectangle_5" HorizontalAlignment="Stretch" x:Name="PressedRectangle" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="3" RadiusY="4" Stroke="{x:Null}" Margin="4.5,-2,4.5,-2" Opacity="0.3" MinHeight="10">
                            <Rectangle.Fill>
                                <SolidColorBrush x:Uid="SolidColorBrush_16" Color="{DynamicResource WhiteColor}" />
                            </Rectangle.Fill>
                        </Rectangle>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_21" Property="IsFocused" Value="True" />
                        <Trigger x:Uid="Trigger_22" Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_15" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_16" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_23" Property="IsEnabled" Value="False" >
                            <Setter x:Uid="Setter_40" Property="Opacity" TargetName="Grid" Value="0.1"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_24" Property="IsDragging" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_17" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_18" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_9" x:Key="NuclearScrollRepeatButtonStyle" d:IsControlPart="True" TargetType="{x:Type RepeatButton}">
        <Setter x:Uid="Setter_41" Property="Background" Value="Transparent" />
        <Setter x:Uid="Setter_42" Property="BorderBrush" Value="Transparent" />
        <Setter x:Uid="Setter_43" Property="IsTabStop" Value="false" />
        <Setter x:Uid="Setter_44" Property="Focusable" Value="false" />
        <Setter x:Uid="Setter_45" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_9" TargetType="{x:Type RepeatButton}">
                    <Grid x:Uid="Grid_5">
                        <Rectangle x:Uid="Rectangle_6" Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_10" TargetType="{x:Type ScrollBar}">
        <Setter x:Uid="Setter_46" Property="Stylus.IsFlicksEnabled" Value="false" />
        <Setter x:Uid="Setter_47" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" />
        <Setter x:Uid="Setter_48" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_10" TargetType="{x:Type ScrollBar}">
                    <Grid x:Uid="GridRoot" x:Name="GridRoot" Width="{DynamicResource {x:Static SystemParameters.VerticalScrollBarWidthKey}}" Background="{DynamicResource NormalBrush}">
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_1" MaxHeight="18" />
                            <RowDefinition x:Uid="RowDefinition_2" Height="0.00001*" />
                            <RowDefinition x:Uid="RowDefinition_3" MaxHeight="18" />
                        </Grid.RowDefinitions>
                        <RepeatButton x:Uid="DecreaseRepeat" x:Name="DecreaseRepeat" Command="ScrollBar.LineUpCommand" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}">
                            <Grid x:Uid="Grid_6" Margin="0,0,0,0">
                                <Path x:Uid="DecreaseArrow" Margin="4.742,3.997,4.946,5.327" VerticalAlignment="Stretch" Height="Auto" Fill="{DynamicResource GlyphBrush}" Stretch="Fill" Stroke="{DynamicResource GlyphBrush}" StrokeThickness="1" Data="M5.2422477,11.132184 L11.5544,11.132184 8.6412958,4.4969033 z" x:Name="DecreaseArrow" />
                            </Grid>
                        </RepeatButton>
                        <Track x:Uid="PART_Track" Grid.Row="1" x:Name="PART_Track" Orientation="Vertical" IsDirectionReversed="true">
                            <Track.Thumb>
                                <Thumb x:Uid="Thumb_1" Style="{DynamicResource NuclearThumbStyle}" Background="{x:Null}" Foreground="{x:Null}" />
                            </Track.Thumb>
                            <Track.IncreaseRepeatButton>
                                <RepeatButton x:Uid="PageUp" x:Name="PageUp" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="ScrollBar.PageDownCommand" />
                            </Track.IncreaseRepeatButton>
                            <Track.DecreaseRepeatButton>
                                <RepeatButton x:Uid="PageDown" x:Name="PageDown" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="ScrollBar.PageUpCommand" />
                            </Track.DecreaseRepeatButton>
                        </Track>
                        <RepeatButton x:Uid="IncreaseRepeat" Grid.Row="2" x:Name="IncreaseRepeat" Command="ScrollBar.LineDownCommand">
                            <Grid x:Uid="Grid_7">
                                <Path x:Uid="IncreaseArrow" Margin="4.742,3.997,4.946,5.327" x:Name="IncreaseArrow" VerticalAlignment="Stretch" Height="Auto" Fill="{DynamicResource GlyphBrush}" Stretch="Fill" Stroke="{DynamicResource GlyphBrush}" StrokeThickness="1" Data="M5.2422477,11.132184 L11.5544,11.132184 8.6412958,4.4969033 z" RenderTransformOrigin="0.5,0.5">
                                    <Path.RenderTransform>
                                        <TransformGroup x:Uid="TransformGroup_1">
                                            <ScaleTransform x:Uid="ScaleTransform_1" ScaleX="1" ScaleY="1" />
                                            <SkewTransform x:Uid="SkewTransform_1" AngleX="0" AngleY="0" />
                                            <RotateTransform x:Uid="RotateTransform_1" Angle="180" />
                                            <TranslateTransform x:Uid="TranslateTransform_1" X="0" Y="0" />
                                        </TransformGroup>
                                    </Path.RenderTransform>
                                </Path>
                            </Grid>
                        </RepeatButton>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_25" Property="Orientation" Value="Horizontal">
                            <Setter x:Uid="Setter_49" Property="LayoutTransform" TargetName="GridRoot">
                                <Setter.Value>
                                    <RotateTransform x:Uid="RotateTransform_2" Angle="-90" />
                                </Setter.Value>
                            </Setter>
                            <Setter x:Uid="Setter_50" TargetName="PART_Track" Property="Orientation" Value="Vertical" />
                            <Setter x:Uid="Setter_51" Property="Command" Value="ScrollBar.LineLeftCommand" TargetName="DecreaseRepeat" />
                            <Setter x:Uid="Setter_52" Property="Command" Value="ScrollBar.LineRightCommand" TargetName="IncreaseRepeat" />
                            <Setter x:Uid="Setter_53" Property="Command" Value="ScrollBar.PageLeftCommand" TargetName="PageDown" />
                            <Setter x:Uid="Setter_54" Property="Command" Value="ScrollBar.PageRightCommand" TargetName="PageUp" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_11" x:Key="NuclearScrollViewer" TargetType="{x:Type ScrollViewer}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_55" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_11" TargetType="{x:Type ScrollViewer}">
                    <Grid x:Uid="Grid_8" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition_1" Width="*" />
                            <ColumnDefinition x:Uid="ColumnDefinition_2" Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_4" Height="*" />
                            <RowDefinition x:Uid="RowDefinition_5" Height="Auto" />
                        </Grid.RowDefinitions>
                        <ScrollContentPresenter x:Uid="ScrollContentPresenter_1" Grid.Column="0" Grid.Row="0" Margin="{TemplateBinding Padding}" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}" />
                        <ScrollBar x:Uid="PART_HorizontalScrollBar" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Grid.Column="0" Grid.Row="1" x:Name="PART_HorizontalScrollBar" Orientation="Horizontal" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportWidth}" Minimum="0" Maximum="{TemplateBinding ScrollableWidth}" AutomationProperties.AutomationId="HorizontalScrollBar" />
                        <ScrollBar x:Uid="PART_VerticalScrollBar" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Grid.Column="1" Grid.Row="0" x:Name="PART_VerticalScrollBar" Orientation="Vertical" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" ViewportSize="{TemplateBinding ViewportHeight}" Minimum="0" Maximum="{TemplateBinding ScrollableHeight}" AutomationProperties.AutomationId="VerticalScrollBar" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_12" TargetType="{x:Type ListBox}">
        <Setter x:Uid="Setter_56" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_57" Property="Background" Value="{StaticResource ControlBackgroundBrush}" />
        <Setter x:Uid="Setter_58" Property="BorderBrush">
            <Setter.Value>
                <LinearGradientBrush x:Uid="LinearGradientBrush_6" EndPoint="0.5,1" StartPoint="0.5,0">
                    <GradientStop x:Uid="GradientStop_18" Color="#FFA3AEB9" Offset="0" />
                    <GradientStop x:Uid="GradientStop_19" Color="#FF8399A9" Offset="0.375" />
                    <GradientStop x:Uid="GradientStop_20" Color="#FF718597" Offset="0.375" />
                    <GradientStop x:Uid="GradientStop_21" Color="#FF617584" Offset="1" />
                </LinearGradientBrush>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_59" Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
        <Setter x:Uid="Setter_60" Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
        <Setter x:Uid="Setter_61" Property="ScrollViewer.CanContentScroll" Value="True" />
        <Setter x:Uid="Setter_62" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_12" TargetType="{x:Type ListBox}">
                    <Grid x:Uid="Grid_9">
                        <Border x:Uid="Border_4" x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2" Background="{DynamicResource ControlBackgroundBrush}" />
                        <ScrollViewer x:Uid="ScrollViewer_1" Margin="1" Style="{DynamicResource NuclearScrollViewer}" Focusable="false" Background="{x:Null}">
                            <StackPanel x:Uid="StackPanel_1" Margin="1,1,1,1" IsItemsHost="true" />
                        </ScrollViewer>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_26" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_63" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border" />
                            <Setter x:Uid="Setter_64" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_27" Property="IsGrouping" Value="true">
                            <Setter x:Uid="Setter_65" Property="ScrollViewer.CanContentScroll" Value="false" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_13" d:IsControlPart="True" TargetType="{x:Type ListBoxItem}">
        <Setter x:Uid="Setter_66" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_67" Property="OverridesDefaultStyle" Value="true" />
        <Setter x:Uid="Setter_68" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_13" TargetType="{x:Type ListBoxItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_33" x:Key="HoverOn">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_35" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_35" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_34" x:Key="HoverOff">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_36" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_36" KeyTime="00:00:00.4000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_35" x:Key="SelectedOn">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_37" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_37" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_36" x:Key="SelectedOff">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_38" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_38" KeyTime="00:00:00.4000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_37" x:Key="FocussedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_39" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_39" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_38" x:Key="FocussedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_40" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_40" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_10" SnapsToDevicePixels="true" Margin="1,1,1,1">
                        <Rectangle x:Uid="Rectangle_7" x:Name="Background" IsHitTestVisible="False" Opacity="0.25" Fill="{StaticResource NormalBrush}" RadiusX="1" RadiusY="1"/>
                        <Rectangle x:Uid="Rectangle_8" x:Name="HoverRectangle" IsHitTestVisible="False" Opacity="0" Fill="{StaticResource NormalBrush}" RadiusX="1" RadiusY="1"/>
                        <Rectangle x:Uid="SelectedRectangle" x:Name="SelectedRectangle" IsHitTestVisible="False" Opacity="0" Fill="{StaticResource SelectedBackgroundBrush}" RadiusX="1" RadiusY="1"/>
                        <ContentPresenter x:Uid="contentPresenter" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" Margin="5,2,0,2" x:Name="contentPresenter" />
                        <Rectangle x:Uid="Rectangle_9" x:Name="FocusVisualElement" Stroke="{StaticResource HoverShineBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_28" Property="IsFocused" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_19" Storyboard="{StaticResource FocussedOff}" x:Name="FocussedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_20" Storyboard="{StaticResource FocussedOn}" x:Name="FocussedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_29" Property="IsSelected" Value="true">

                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="SelectedOff_BeginStoryboard" x:Name="SelectedOff_BeginStoryboard" Storyboard="{StaticResource SelectedOff}"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="SelectedOn_BeginStoryboard" x:Name="SelectedOn_BeginStoryboard" Storyboard="{StaticResource SelectedOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_3">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_5" Property="IsMouseOver" Value="True" />
                                <Condition x:Uid="Condition_6" Property="Selector.IsSelected" Value="False" />
                            </MultiTrigger.Conditions>

                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_21" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_22" x:Name="HoverOff_BeginStoryboard" Storyboard="{StaticResource HoverOff}"/>
                            </MultiTrigger.ExitActions>

                        </MultiTrigger>
                        <MultiTrigger x:Uid="MultiTrigger_4">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_7" Property="Selector.IsSelected" Value="True" />
                                <Condition x:Uid="Condition_8" Property="IsMouseOver" Value="True" />
                            </MultiTrigger.Conditions>

                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_30" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_69" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_70" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Style.Triggers>
            <Trigger x:Uid="Trigger_31" Property="Selector.IsSelected" Value="True">
                <Setter x:Uid="Setter_71" Property="Foreground">
                    <Setter.Value>
                        <SolidColorBrush x:Uid="SolidColorBrush_17" Color="{DynamicResource BlackColor}" />
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Uid="Style_14" x:Key="ExpanderHeaderFocusVisual">
        <Setter x:Uid="Setter_72" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_14">
                    <Border x:Uid="Border_5">
                        <Rectangle x:Uid="Rectangle_10" SnapsToDevicePixels="true" Margin="0" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" />
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_15" x:Key="ExpanderDownHeaderStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_73" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_74" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_15" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_39" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_41" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_41" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_42" BeginTime="00:00:00" Storyboard.TargetName="HoverShineRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_42" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_40" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_43" BeginTime="00:00:00" Storyboard.TargetName="HoverShineRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_43" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_44" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_44" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_41" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_45" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_45" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_42" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_46" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_46" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_6" Padding="{TemplateBinding Padding}" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2">
                        <Grid x:Uid="Grid_11" SnapsToDevicePixels="False" Background="Transparent">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_3" Width="19" />
                                <ColumnDefinition x:Uid="ColumnDefinition_4" Width="*" />
                            </Grid.ColumnDefinitions>
                            <Rectangle x:Uid="Rectangle" Margin="2,2,2,2" x:Name="Rectangle" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                            <Rectangle x:Uid="Rectangle_11" Margin="2,2,2,2" x:Name="ShineRectangle" Fill="{DynamicResource ShineBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                            <Rectangle x:Uid="Rectangle_12" Margin="2,2,2,2" x:Name="HoverRectangle" Fill="{DynamicResource HoverBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                            <Rectangle x:Uid="HoverShineRectangle" Margin="2,2,2,2" x:Name="HoverShineRectangle" Fill="{DynamicResource HoverShineBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                            <Rectangle x:Uid="Rectangle_13" Margin="2,2,2,2" x:Name="PressedRectangle" Fill="{DynamicResource PressedBrush}" Stroke="{DynamicResource PressedBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                            <Path x:Uid="Up_Arrow" HorizontalAlignment="Center" x:Name="Up_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" />
                            <Path x:Uid="Down_Arrow" Visibility="Collapsed" HorizontalAlignment="Center" x:Name="Down_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 4 0 L 8 4 Z" />
                            <ContentPresenter x:Uid="ContentPresenter_4" SnapsToDevicePixels="True" HorizontalAlignment="Left" Margin="4,2,0,2" VerticalAlignment="Center" Grid.Column="1" RecognizesAccessKey="True" />
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_32" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_75" Property="Visibility" TargetName="Down_Arrow" Value="Visible" />
                            <Setter x:Uid="Setter_76" Property="Visibility" TargetName="Up_Arrow" Value="Collapsed" />

                        </Trigger>
                        <Trigger x:Uid="Trigger_33" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_23" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_24" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_34" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_25" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_26" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_16" x:Key="ExpanderRightHeaderStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_77" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_78" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_16" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_43" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_47" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_47" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_48" BeginTime="00:00:00" Storyboard.TargetName="HoverShineRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_48" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_44" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_49" BeginTime="00:00:00" Storyboard.TargetName="HoverShineRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_49" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_50" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_50" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_45" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_51" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_51" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_46" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_52" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_52" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_7" Padding="{TemplateBinding Padding}" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1" CornerRadius="2,2,2,2">
                        <Grid x:Uid="Grid_12" SnapsToDevicePixels="False" Background="Transparent">
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_6" Height="19" />
                                <RowDefinition x:Uid="RowDefinition_7" Height="*" />
                            </Grid.RowDefinitions>
                            <Grid x:Uid="Grid_13">
                                <Grid.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_2">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_1">
                                                <RotateTransform x:Uid="RotateTransform_3" Angle="-90" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </Grid.LayoutTransform>
                                <Rectangle x:Uid="Rectangle_14" Margin="2,2,2,2" x:Name="Rectangle" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                                <Rectangle x:Uid="Rectangle_15" Margin="2,2,2,2" x:Name="ShineRectangle" Fill="{DynamicResource ShineBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                                <Rectangle x:Uid="Rectangle_16" Margin="2,2,2,2" x:Name="HoverRectangle" Fill="{DynamicResource HoverBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Rectangle x:Uid="Rectangle_17" Margin="2,2,2,2" x:Name="HoverShineRectangle" Fill="{DynamicResource HoverShineBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Rectangle x:Uid="Rectangle_18" Margin="2,2,2,2" x:Name="PressedRectangle" Fill="{DynamicResource PressedBrush}" Stroke="{DynamicResource PressedBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Path x:Uid="Path_1" HorizontalAlignment="Center" x:Name="Up_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" />
                                <Path x:Uid="Path_2" Visibility="Collapsed" HorizontalAlignment="Center" x:Name="Down_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 4 0 L 8 4 Z" />
                            </Grid>
                            <ContentPresenter x:Uid="ContentPresenter_5" SnapsToDevicePixels="True" HorizontalAlignment="Center" Margin="2,4,4,0" VerticalAlignment="Top" Grid.Row="1" RecognizesAccessKey="True">
                                <ContentPresenter.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_3">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_2">
                                                <RotateTransform x:Uid="RotateTransform_4" Angle="-90" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </ContentPresenter.LayoutTransform>
                            </ContentPresenter>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_35" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_79" Property="Visibility" TargetName="Up_Arrow" Value="Collapsed" />
                            <Setter x:Uid="Setter_80" Property="Visibility" TargetName="Down_Arrow" Value="Visible" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_36" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_27" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_28" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_37" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_29" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_30" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_17" x:Key="ExpanderUpHeaderStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_81" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_82" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_17" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_47" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_53" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_53" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_54" BeginTime="00:00:00" Storyboard.TargetName="HoverShineRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_54" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_48" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_55" BeginTime="00:00:00" Storyboard.TargetName="HoverShineRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_55" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_56" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_56" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_49" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_57" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_57" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_50" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_58" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_58" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_8" Padding="{TemplateBinding Padding}" CornerRadius="2,2,2,2" BorderThickness="1,1,1,1" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}">
                        <Grid x:Uid="Grid_14" SnapsToDevicePixels="False" Background="Transparent">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_5" Width="19" />
                                <ColumnDefinition x:Uid="ColumnDefinition_6" Width="*" />
                            </Grid.ColumnDefinitions>
                            <Grid x:Uid="Grid_15">
                                <Grid.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_4">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_3">
                                                <RotateTransform x:Uid="RotateTransform_5" Angle="180" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </Grid.LayoutTransform>
                                <Rectangle x:Uid="Rectangle_19" Margin="2,2,2,2" x:Name="Rectangle" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                                <Rectangle x:Uid="Rectangle_20" Margin="2,2,2,2" x:Name="ShineRectangle" Fill="{DynamicResource ShineBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                                <Rectangle x:Uid="Rectangle_21" Margin="2,2,2,2" x:Name="HoverRectangle" Fill="{DynamicResource HoverBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Rectangle x:Uid="Rectangle_22" Margin="2,2,2,2" x:Name="HoverShineRectangle" Fill="{DynamicResource HoverShineBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Rectangle x:Uid="Rectangle_23" Margin="2,2,2,2" x:Name="PressedRectangle" Fill="{DynamicResource PressedBrush}" Stroke="{DynamicResource PressedBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Path x:Uid="Path_3" HorizontalAlignment="Center" x:Name="Up_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" />
                                <Path x:Uid="Path_4" Visibility="Collapsed" HorizontalAlignment="Center" x:Name="Down_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 4 0 L 8 4 Z" />
                            </Grid>
                            <ContentPresenter x:Uid="ContentPresenter_6" SnapsToDevicePixels="True" HorizontalAlignment="Left" Margin="4,2,0,2" VerticalAlignment="Center" Grid.Column="1" RecognizesAccessKey="True" />
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_38" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_83" Property="Visibility" TargetName="Up_Arrow" Value="Collapsed" />
                            <Setter x:Uid="Setter_84" Property="Visibility" TargetName="Down_Arrow" Value="Visible" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_39" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_31" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_32" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_40" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_33" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_34" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_18" x:Key="ExpanderLeftHeaderStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_85" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_86" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_18" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_51" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_59" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_59" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_60" BeginTime="00:00:00" Storyboard.TargetName="HoverShineRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_60" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_52" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_61" BeginTime="00:00:00" Storyboard.TargetName="HoverShineRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_61" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_62" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_62" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_53" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_63" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_63" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_54" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_64" BeginTime="00:00:00" Storyboard.TargetName="PressedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_64" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_9" Padding="{TemplateBinding Padding}" CornerRadius="2,2,2,2" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1">
                        <Grid x:Uid="Grid_16" SnapsToDevicePixels="False" Background="Transparent">
                            <Grid.RowDefinitions>
                                <RowDefinition x:Uid="RowDefinition_8" Height="19" />
                                <RowDefinition x:Uid="RowDefinition_9" Height="*" />
                            </Grid.RowDefinitions>
                            <Grid x:Uid="Grid_17">
                                <Grid.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_5">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_4">
                                                <RotateTransform x:Uid="RotateTransform_6" Angle="90" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </Grid.LayoutTransform>
                                <Rectangle x:Uid="Rectangle_24" Margin="2,2,2,2" x:Name="Rectangle" Fill="{DynamicResource NormalBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                                <Rectangle x:Uid="Rectangle_25" Margin="2,2,2,2" x:Name="ShineRectangle" Fill="{DynamicResource ShineBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                                <Rectangle x:Uid="Rectangle_26" Margin="2,2,2,2" x:Name="HoverRectangle" Fill="{DynamicResource HoverBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Rectangle x:Uid="Rectangle_27" Margin="2,2,2,2" x:Name="HoverShineRectangle" Fill="{DynamicResource HoverShineBrush}" Stroke="{DynamicResource NormalBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Rectangle x:Uid="Rectangle_28" Margin="2,2,2,2" x:Name="PressedRectangle" Fill="{DynamicResource PressedBrush}" Stroke="{DynamicResource PressedBorderBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" Opacity="0" />
                                <Path x:Uid="Path_5" HorizontalAlignment="Center" x:Name="Up_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 0 L 4 4 L 8 0 Z" />
                                <Path x:Uid="Path_6" Visibility="Collapsed" HorizontalAlignment="Center" x:Name="Down_Arrow" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 4 0 L 8 4 Z" />
                            </Grid>
                            <ContentPresenter x:Uid="ContentPresenter_7" SnapsToDevicePixels="True" HorizontalAlignment="Center" Margin="4,4,2,0" VerticalAlignment="Top" Grid.Row="1" RecognizesAccessKey="True">
                                <ContentPresenter.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_6">
                                        <TransformGroup.Children>
                                            <TransformCollection x:Uid="TransformCollection_5">
                                                <RotateTransform x:Uid="RotateTransform_7" Angle="90" />
                                            </TransformCollection>
                                        </TransformGroup.Children>
                                    </TransformGroup>
                                </ContentPresenter.LayoutTransform>
                            </ContentPresenter>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_41" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_87" Property="Visibility" TargetName="Up_Arrow" Value="Collapsed" />
                            <Setter x:Uid="Setter_88" Property="Visibility" TargetName="Down_Arrow" Value="Visible" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_42" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_35" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_36" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_43" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_37" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_38" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_19" TargetType="{x:Type Expander}">
        <Setter x:Uid="Setter_89" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_90" Property="Background" Value="Transparent" />
        <Setter x:Uid="Setter_91" Property="HorizontalContentAlignment" Value="Stretch" />
        <Setter x:Uid="Setter_92" Property="VerticalContentAlignment" Value="Stretch" />
        <Setter x:Uid="Setter_93" Property="BorderBrush" Value="Transparent" />
        <Setter x:Uid="Setter_94" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_95" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_19" TargetType="{x:Type Expander}">
                    <Border x:Uid="Border_10" SnapsToDevicePixels="true" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1,1,1,1" CornerRadius="3">
                        <DockPanel x:Uid="dockPanel" x:Name="dockPanel">
                            <ToggleButton x:Uid="HeaderSite" FontFamily="{TemplateBinding FontFamily}" FontSize="{TemplateBinding FontSize}" FontStretch="{TemplateBinding FontStretch}" FontStyle="{TemplateBinding FontStyle}" FontWeight="{TemplateBinding FontWeight}" Foreground="{TemplateBinding Foreground}" HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" Padding="{TemplateBinding Padding}" VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" Margin="1,1,1,0" MinHeight="0" MinWidth="0" x:Name="HeaderSite" Style="{StaticResource ExpanderDownHeaderStyle}" Content="{TemplateBinding Header}" ContentTemplate="{TemplateBinding HeaderTemplate}" ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" IsChecked="{Binding Path=IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" DockPanel.Dock="Top" />
                            <Border x:Uid="border" Visibility="Collapsed" Background="{DynamicResource ShadeBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,0,1,1" CornerRadius="3,3,3,3" x:Name="border" Margin="1,1,1,1">
                                <ContentPresenter x:Uid="ExpandSite" Focusable="false" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="1,1,1,1" x:Name="ExpandSite" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" DockPanel.Dock="Bottom" />
                            </Border>
                        </DockPanel>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_44" Property="IsExpanded" Value="true">
                            <Setter x:Uid="Setter_96" Property="Visibility" TargetName="border" Value="Visible" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_45" Property="ExpandDirection" Value="Down" />
                        <Trigger x:Uid="Trigger_46" Property="ExpandDirection" Value="Right">
                            <Setter x:Uid="Setter_97" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Right" />
                            <Setter x:Uid="Setter_98" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Left" />
                            <Setter x:Uid="Setter_99" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderRightHeaderStyle}" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_47" Property="ExpandDirection" Value="Up">
                            <Setter x:Uid="Setter_100" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Top" />
                            <Setter x:Uid="Setter_101" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Bottom" />
                            <Setter x:Uid="Setter_102" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderUpHeaderStyle}" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_48" Property="ExpandDirection" Value="Left">
                            <Setter x:Uid="Setter_103" Property="DockPanel.Dock" TargetName="ExpandSite" Value="Left" />
                            <Setter x:Uid="Setter_104" Property="DockPanel.Dock" TargetName="HeaderSite" Value="Right" />
                            <Setter x:Uid="Setter_105" Property="Style" TargetName="HeaderSite" Value="{StaticResource ExpanderLeftHeaderStyle}" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_49" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_106" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <ControlTemplate x:Uid="ControlTemplate_20" x:Key="ComboBoxToggleButton" TargetType="{x:Type ToggleButton}">
        <ControlTemplate.Resources>
            <Storyboard x:Uid="Storyboard_55" x:Key="HoverOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_65" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_65" KeyTime="00:00:00.1000000" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_66" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_66" KeyTime="00:00:00.1000000" Value="1"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_56" x:Key="HoverOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_67" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_67" KeyTime="00:00:00.3000000" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_68" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_68" KeyTime="00:00:00.3000000" Value="0"/>
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
        </ControlTemplate.Resources>
        <Grid x:Uid="grid" x:Name="grid">
            <Grid.ColumnDefinitions>
                <ColumnDefinition x:Uid="ColumnDefinition_7" />
                <ColumnDefinition x:Uid="ColumnDefinition_8" Width="20" />
            </Grid.ColumnDefinitions>
            <Rectangle x:Uid="Rectangle_29" Grid.ColumnSpan="2" HorizontalAlignment="Stretch" x:Name="Rectangle" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="3" RadiusY="3" Fill="{DynamicResource LightBrush}" Stroke="{DynamicResource NormalBorderBrush}" />
            <Rectangle x:Uid="Rectangle_30" Grid.Column="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" RadiusX="3" RadiusY="3" Fill="{DynamicResource LightBrush}" Stroke="{DynamicResource NormalBorderBrush}" />
            <Border x:Uid="Border_11" Margin="2,2,2,2" Grid.Column="1" Background="{DynamicResource NormalBrush}" CornerRadius="3,3,3,3" x:Name="border" />
            <Border x:Uid="Border_12" Margin="2,2,2,2" Background="{DynamicResource HoverBrush}" CornerRadius="3,3,3,3" x:Name="HoverBorder" Grid.Column="1" Opacity="0" />
            <Border x:Uid="Border_13" Margin="2,2,2,2" Background="{DynamicResource HoverShineBrush}" CornerRadius="3,3,3,3" x:Name="HoverShineBorder" Grid.Column="1" Opacity="0" />
            <Path x:Uid="Arrow" Grid.Column="1" HorizontalAlignment="Center" x:Name="Arrow" VerticalAlignment="Center" Fill="{x:Null}" Data="M0.5,0.5 L3,6.5 5.5,0.5" Stroke="{DynamicResource GlyphBrush}" Margin="5,0,5,0" Height="7" StrokeThickness="2" Stretch="Fill" />
            <Border x:Uid="Border_14" Margin="2,2,2,2" Background="{DynamicResource ShineBrush}" CornerRadius="3,3,3,3" x:Name="ShineBorder" Grid.Column="1" />
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger x:Uid="Trigger_50" Property="IsMouseOver" Value="true">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_39" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_40" Storyboard="{StaticResource HoverOn}"/>
                </Trigger.EnterActions>
            </Trigger>
            <Trigger x:Uid="Trigger_51" Property="IsChecked" Value="true" />
            <Trigger x:Uid="Trigger_52" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_107" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                <Setter x:Uid="Setter_108" Property="Stroke" TargetName="Arrow" Value="{DynamicResource DisabledForegroundBrush}"/>
                <Setter x:Uid="Setter_109" Property="Background" TargetName="border" Value="{DynamicResource DisabledBorderBrush}"/>
                <Setter x:Uid="Setter_110" Property="Opacity" TargetName="grid" Value="0.8"/>
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>
    <ControlTemplate x:Uid="ControlTemplate_21" x:Key="ComboBoxTextBox" TargetType="{x:Type TextBox}">
        <Border x:Uid="PART_ContentHost" x:Name="PART_ContentHost" Focusable="False" Background="{TemplateBinding Background}" />
        <ControlTemplate.Triggers>
        </ControlTemplate.Triggers>
    </ControlTemplate>
    
    <Style x:Uid="Style_20" TargetType="{x:Type ComboBox}">
        <Setter x:Uid="Setter_111" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_112" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_113" Property="Template" Value="{DynamicResource ComboBoxTemplate}" />
    </Style>

    <ControlTemplate x:Uid="ControlTemplate_22" x:Key="ComboBoxTemplate" TargetType="{x:Type ComboBox}">
        <Grid x:Uid="Grid_18" x:Name="grid">
            <ToggleButton x:Uid="ToggleButton" Grid.Column="2" Template="{DynamicResource ComboBoxToggleButton}" x:Name="ToggleButton" Focusable="false" IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press" />
            <ContentPresenter x:Uid="ContentSite" HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="ContentSite" VerticalAlignment="Center" Content="{TemplateBinding SelectionBoxItem}" ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" IsHitTestVisible="False" />
            <TextBox x:Uid="PART_EditableTextBox" Visibility="Hidden" Template="{DynamicResource ComboBoxTextBox}" HorizontalAlignment="Left" Margin="3,3,23,3" x:Name="PART_EditableTextBox" Style="{x:Null}" VerticalAlignment="Center" Focusable="True" Background="{DynamicResource LightBrush}" IsReadOnly="{TemplateBinding IsReadOnly}" BorderBrush="{DynamicResource NormalBorderBrush}" Foreground="{DynamicResource TextBrush}" />
            <Popup x:Uid="Popup" IsOpen="{TemplateBinding IsDropDownOpen}" Placement="Bottom" x:Name="Popup" Focusable="False" AllowsTransparency="True" PopupAnimation="Slide">
                <Grid x:Uid="DropDown" MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" x:Name="DropDown" SnapsToDevicePixels="True">
                    <Border x:Uid="DropDownBorder" x:Name="DropDownBorder" Background="{DynamicResource ControlBackgroundBrush}" CornerRadius="3,3,3,3" />
                    <ScrollViewer x:Uid="ScrollViewer_2" Margin="4,6,4,6" Style="{DynamicResource NuclearScrollViewer}" SnapsToDevicePixels="True" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="True" Foreground="{DynamicResource {x:Static SystemColors.ActiveCaptionTextBrushKey}}">
                        <StackPanel x:Uid="StackPanel_2" IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained" />
                    </ScrollViewer>
                </Grid>
            </Popup>
        </Grid>
        <ControlTemplate.Triggers>
            <Trigger x:Uid="Trigger_53" Property="HasItems" Value="false">
                <Setter x:Uid="Setter_114" Property="MinHeight" Value="95" TargetName="DropDownBorder" />
            </Trigger>
            <Trigger x:Uid="Trigger_54" Property="IsEnabled" Value="false">
                <Setter x:Uid="Setter_115" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                <Setter x:Uid="Setter_116" Property="Opacity" TargetName="grid" Value="0.5" />
            </Trigger>
            <Trigger x:Uid="Trigger_55" Property="IsGrouping" Value="true">
                <Setter x:Uid="Setter_117" Property="ScrollViewer.CanContentScroll" Value="false" />
            </Trigger>
            <Trigger x:Uid="Trigger_56" Property="AllowsTransparency" SourceName="Popup" Value="true">
                <Setter x:Uid="Setter_118" Property="Margin" Value="0,2,0,0" TargetName="DropDownBorder" />
            </Trigger>
            <Trigger x:Uid="Trigger_57" Property="IsEditable" Value="true">
                <Setter x:Uid="Setter_119" Property="IsTabStop" Value="false" />
                <Setter x:Uid="Setter_120" Property="Visibility" Value="Visible" TargetName="PART_EditableTextBox" />
                <Setter x:Uid="Setter_121" Property="Visibility" Value="Hidden" TargetName="ContentSite" />
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>

    <Style x:Uid="Style_21" d:IsControlPart="True" TargetType="{x:Type ComboBoxItem}">
        <Setter x:Uid="Setter_122" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_123" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_124" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_23" TargetType="{x:Type ComboBoxItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_57" x:Key="HoverOn">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_69" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_69" KeyTime="00:00:00.1000000" Value="1" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_58" x:Key="HoverOff">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_70" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_70" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_59" x:Key="SelectedOn">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_71" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_71" KeyTime="00:00:00.1000000" Value="1" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_60" x:Key="SelectedOff">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_72" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_72" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>

                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_19" SnapsToDevicePixels="true" Margin="1,1,1,1">
                        <Rectangle x:Uid="Rectangle_31" x:Name="Background" IsHitTestVisible="False" Opacity="0.25" Fill="{StaticResource NormalBrush}" RadiusX="1" RadiusY="1" />
                        <Rectangle x:Uid="Rectangle_32" x:Name="HoverRectangle" IsHitTestVisible="False" Opacity="0" Fill="{StaticResource NormalBrush}" RadiusX="1" RadiusY="1" />
                        <Rectangle x:Uid="Rectangle_33" x:Name="SelectedRectangle" IsHitTestVisible="False" Opacity="0" Fill="{StaticResource SelectedBackgroundBrush}" RadiusX="1" RadiusY="1" />
                        <ContentPresenter x:Uid="ContentPresenter_8" Margin="5,2,0,2" x:Name="contentPresenter" VerticalAlignment="Center" />
                        <Rectangle x:Uid="Rectangle_34" x:Name="FocusVisualElement" Visibility="Collapsed" Stroke="{StaticResource HoverShineBrush}" StrokeThickness="1" RadiusX="1" RadiusY="1" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_58" Property="IsHighlighted" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_41" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_42" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_59" Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_43" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_44" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_60" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_125" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_22" TargetType="{x:Type ProgressBar}">
        <Setter x:Uid="Setter_126" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_24" TargetType="{x:Type ProgressBar}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_61" x:Key="ValueChangedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_73" BeginTime="00:00:00" Storyboard.TargetName="PART_Track" Storyboard.TargetProperty="(UIElement.BitmapEffect).(OuterGlowBitmapEffect.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_73" KeyTime="00:00:00" Value="0" />
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_74" KeyTime="00:00:00.2000000" Value="1" />
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_75" KeyTime="00:00:02" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_62" x:Key="IndeterminateOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_74" Storyboard.TargetName="IndeterminateGradientFill" Storyboard.TargetProperty="(Shape.Fill).(LinearGradientBrush.Transform).(TransformGroup.Children)[0].X" RepeatBehavior="Forever">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_76" KeyTime="0" Value="0" />
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_77" KeyTime="00:00:2.4" Value="145" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_20">
                        <Border x:Uid="Border_15" x:Name="PART_Track" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1" CornerRadius="0,0,0,0" Background="{DynamicResource LightBrush}">
                            <Border.BitmapEffect>
                                <OuterGlowBitmapEffect x:Uid="OuterGlowBitmapEffect_1" Opacity="0" GlowColor="{DynamicResource WhiteColor}" GlowSize="3" />
                            </Border.BitmapEffect>
                        </Border>
                        <Border x:Uid="PART_Indicator" HorizontalAlignment="Left" x:Name="PART_Indicator" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1" CornerRadius="0,0,0,0">
                            <Border.Background>
                                <LinearGradientBrush x:Uid="LinearGradientBrush_7" EndPoint=".7,1" StartPoint=".7,0">
                                    <GradientStop x:Uid="GradientStop_22" Color="#B2FFFFFF" Offset="0" />
                                    <GradientStop x:Uid="GradientStop_23" Color="#C6FFFFFF" Offset="0.15" />
                                    <GradientStop x:Uid="GradientStop_24" Color="#D1FFFFFF" Offset="0.275" />
                                    <GradientStop x:Uid="GradientStop_25" Color="#C6FFFFFF" Offset="0.4" />
                                    <GradientStop x:Uid="GradientStop_26" Color="#BFFFFFFF" Offset="0.65" />
                                    <GradientStop x:Uid="GradientStop_27" Color="#A5FFFFFF" Offset="0.75" />
                                    <GradientStop x:Uid="GradientStop_28" Color="#91FFFFFF" Offset="0.85" />
                                    <GradientStop x:Uid="GradientStop_29" Color="#72FFFFFF" Offset="1" />
                                </LinearGradientBrush>
                            </Border.Background>
                        </Border>
                        <Grid x:Uid="IndeterminateRoot" x:Name="IndeterminateRoot" Visibility="Collapsed">
                            <Rectangle x:Uid="IndeterminateSolidFill" Margin="{TemplateBinding BorderThickness}" x:Name="IndeterminateSolidFill" Opacity="1" RenderTransformOrigin="0.5,0.5" RadiusX="2" RadiusY="2" Fill="{DynamicResource ControlBackgroundBrush}" Stroke="#FF448DCA" StrokeThickness="0" />
                            <Rectangle x:Uid="IndeterminateGradientFill" Margin="{TemplateBinding BorderThickness}" x:Name="IndeterminateGradientFill" RadiusX="2" RadiusY="2" StrokeThickness="1">
                                <Rectangle.Fill>
                                    <LinearGradientBrush x:Uid="LinearGradientBrush_8" EndPoint="0.508,1.394" StartPoint="0.401,-0.394" SpreadMethod="Repeat">
                                        <GradientStop x:Uid="GradientStop_30" Color="#00FFFFFF" />
                                        <GradientStop x:Uid="GradientStop_31" Color="#FEA1A1A1" Offset="1" />
                                        <GradientStop x:Uid="GradientStop_32" Color="#00FEFEFE" Offset="0.517" />
                                        <GradientStop x:Uid="GradientStop_33" Color="#FEA1A1A1" Offset="0.517" />
                                        <LinearGradientBrush.Transform>
                                            <TransformGroup x:Uid="TransformGroup_7">
                                                <TranslateTransform x:Uid="TranslateTransform_2" X="0" />
                                            </TransformGroup>
                                        </LinearGradientBrush.Transform>
                                    </LinearGradientBrush>
                                </Rectangle.Fill>
                            </Rectangle>
                        </Grid>
                        <Border x:Uid="Border_16" Background="{DynamicResource DisabledBackgroundBrush}" Opacity="0" BorderThickness="1,1,1,1" BorderBrush="{DynamicResource DisabledBorderBrush}" x:Name="border"/>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_61" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_127" Property="Opacity" TargetName="border" Value="0.8"/>
                        </Trigger>
                        <EventTrigger x:Uid="EventTrigger_1" RoutedEvent="RangeBase.ValueChanged">
                            <BeginStoryboard x:Uid="BeginStoryboard_45" Storyboard="{StaticResource ValueChangedOn}" />
                        </EventTrigger>
                        <Trigger x:Uid="Trigger_62" Property="IsIndeterminate" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_46" Storyboard="{StaticResource IndeterminateOn}" />
                            </Trigger.EnterActions>
                            <Setter x:Uid="Setter_128" Property="Visibility" TargetName="IndeterminateRoot" Value="Visible"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_23" TargetType="{x:Type TextBox}">
        <Setter x:Uid="Setter_129" Property="KeyboardNavigation.TabNavigation" Value="None" />
        <Setter x:Uid="Setter_130" Property="FocusVisualStyle" Value="{x:Null}" />
        <Setter x:Uid="Setter_131" Property="AllowDrop" Value="true" />
        <Setter x:Uid="Setter_132" Property="Template" Value="{DynamicResource TextBoxTemplate}" />
        <Setter x:Uid="Setter_133" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_134" Property="Background" Value="{DynamicResource ControlBackgroundBrush}"/>
        <Setter x:Uid="Setter_135" Property="BorderBrush" Value="#FF000000"/>
    </Style>

    <ControlTemplate x:Uid="ControlTemplate_25" x:Key="TextBoxTemplate" TargetType="{x:Type TextBox}">
        <ControlTemplate.Resources>
            <Storyboard x:Uid="Storyboard_63" x:Key="HoverOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_75" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_78" KeyTime="00:00:00.1000000" Value="0.5" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_64" x:Key="HoverOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_76" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_79" KeyTime="00:00:00.4000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_65" x:Key="FocusedOn">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_77" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_80" KeyTime="00:00:00.1000000" Value="1" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
            <Storyboard x:Uid="Storyboard_66" x:Key="FocusedOff">
                <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_78" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
                    <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_81" KeyTime="00:00:00.4000000" Value="0" />
                </DoubleAnimationUsingKeyFrames>
            </Storyboard>
        </ControlTemplate.Resources>
        <Grid x:Uid="Grid_21">
            <Border x:Uid="Border_17" x:Name="Border" Opacity="1" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" Background="{TemplateBinding Background}">
                <Grid x:Uid="Grid_22">
                    <Border x:Uid="Border_18" BorderThickness="1">
                        <ScrollViewer x:Uid="ScrollViewer_3" Margin="0" x:Name="PART_ContentHost" Style="{DynamicResource NuclearScrollViewer}" />
                    </Border>
                </Grid>
            </Border>
            <Border x:Uid="Border_19" x:Name="HoverBorder" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource GlyphBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" />
            <Border x:Uid="Border_20" x:Name="FocusVisualElement" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource HoverShineBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" />


        </Grid>
        <ControlTemplate.Triggers>
            <Trigger x:Uid="Trigger_63" Property="IsFocused" Value="True">
                <Trigger.ExitActions>
                    <BeginStoryboard x:Uid="FocusedOff_BeginStoryboard" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard" />
                </Trigger.ExitActions>
                <Trigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_47" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard" />
                </Trigger.EnterActions>

            </Trigger>
            <MultiTrigger x:Uid="MultiTrigger_5">
                <MultiTrigger.ExitActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_48" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard" />
                </MultiTrigger.ExitActions>
                <MultiTrigger.EnterActions>
                    <BeginStoryboard x:Uid="BeginStoryboard_49" Storyboard="{StaticResource HoverOn}" />
                </MultiTrigger.EnterActions>
                <MultiTrigger.Conditions>
                    <Condition x:Uid="Condition_9" Property="IsMouseOver" Value="True" />
                    <Condition x:Uid="Condition_10" Property="IsFocused" Value="False" />
                </MultiTrigger.Conditions>

            </MultiTrigger>
            <Trigger x:Uid="Trigger_64" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_136" Property="Background" TargetName="Border" Value="{DynamicResource DisabledBackgroundBrush}" />
                <Setter x:Uid="Setter_137" Property="BorderBrush" TargetName="Border" Value="{DynamicResource DisabledBorderBrush}" />
                <Setter x:Uid="Setter_138" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
            </Trigger>
        </ControlTemplate.Triggers>
    </ControlTemplate>

    <Style x:Uid="Style_24" TargetType="{x:Type PasswordBox}">
        <Setter x:Uid="Setter_139" Property="KeyboardNavigation.TabNavigation" Value="None" />
        <Setter x:Uid="Setter_140" Property="FocusVisualStyle" Value="{x:Null}" />
        <Setter x:Uid="Setter_141" Property="AllowDrop" Value="true" />
        <Setter x:Uid="Setter_142" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_26" TargetType="{x:Type PasswordBox}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_67" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_79" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_82" KeyTime="00:00:00.1000000" Value="0.5" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_68" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_80" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_83" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_69" x:Key="FocusedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_81" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_84" KeyTime="00:00:00.1000000" Value="1" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_70" x:Key="FocusedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_82" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_85" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_23">
                        <Border x:Uid="Border_21" x:Name="Border" Opacity="1" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" Background="{TemplateBinding Background}">
                            <Grid x:Uid="Grid_24">
                                <Border x:Uid="Border_22" BorderThickness="1">
                                    <ScrollViewer x:Uid="ScrollViewer_4" Margin="0" x:Name="PART_ContentHost" Style="{DynamicResource NuclearScrollViewer}" />
                                </Border>
                            </Grid>
                        </Border>
                        <Border x:Uid="Border_23" x:Name="HoverBorder" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource GlyphBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" />
                        <Border x:Uid="Border_24" x:Name="FocusVisualElement" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource HoverShineBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" />


                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_65" Property="IsFocused" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_50" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_51" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_6">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_52" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_53" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_11" Property="IsMouseOver" Value="True" />
                                <Condition x:Uid="Condition_12" Property="IsFocused" Value="False" />
                            </MultiTrigger.Conditions>

                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_66" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_143" Property="Background" TargetName="Border" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_144" Property="BorderBrush" TargetName="Border" Value="{DynamicResource DisabledBorderBrush}"/>
                            <Setter x:Uid="Setter_145" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_146" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_147" Property="Background" Value="{DynamicResource ControlBackgroundBrush}"/>
        <Setter x:Uid="Setter_148" Property="BorderBrush" Value="#FF000000"/>
    </Style>

    <Style x:Uid="Style_25" TargetType="{x:Type RichTextBox}">
        <Setter x:Uid="Setter_149" Property="KeyboardNavigation.TabNavigation" Value="None" />
        <Setter x:Uid="Setter_150" Property="FocusVisualStyle" Value="{x:Null}" />
        <Setter x:Uid="Setter_151" Property="AllowDrop" Value="true" />
        <Setter x:Uid="Setter_152" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_27" TargetType="{x:Type RichTextBox}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_71" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_83" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_86" KeyTime="00:00:00.1000000" Value="0.5" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_72" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_84" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_87" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_73" x:Key="FocusedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_85" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_88" KeyTime="00:00:00.1000000" Value="1" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_74" x:Key="FocusedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_86" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_89" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_25">
                        <Border x:Uid="Border_25" x:Name="Border" Opacity="1" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" Background="{TemplateBinding Background}">
                            <Grid x:Uid="Grid_26">
                                <Border x:Uid="Border_26" BorderThickness="1">
                                    <ScrollViewer x:Uid="ScrollViewer_5" Margin="0" x:Name="PART_ContentHost" Style="{DynamicResource NuclearScrollViewer}" />
                                </Border>
                            </Grid>
                        </Border>
                        <Border x:Uid="Border_27" x:Name="HoverBorder" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource GlyphBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" />
                        <Border x:Uid="Border_28" x:Name="FocusVisualElement" IsHitTestVisible="False" Opacity="0" BorderBrush="{StaticResource HoverShineBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2,2,2,2" />


                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_67" Property="IsFocused" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_54" Storyboard="{StaticResource FocusedOff}" x:Name="FocusedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_55" Storyboard="{StaticResource FocusedOn}" x:Name="FocusedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_7">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_56" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_57" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_13" Property="IsMouseOver" Value="True" />
                                <Condition x:Uid="Condition_14" Property="IsFocused" Value="False" />
                            </MultiTrigger.Conditions>

                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_68" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_153" Property="Background" TargetName="Border" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_154" Property="BorderBrush" TargetName="Border" Value="{DynamicResource DisabledBorderBrush}"/>
                            <Setter x:Uid="Setter_155" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_156" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_157" Property="Background" Value="{DynamicResource ControlBackgroundBrush}"/>
        <Setter x:Uid="Setter_158" Property="BorderBrush" Value="#FF000000"/>
    </Style>
    <Style x:Uid="Style_26" TargetType="{x:Type Label}">
        <Setter x:Uid="Setter_159" Property="HorizontalContentAlignment" Value="Left" />
        <Setter x:Uid="Setter_160" Property="VerticalContentAlignment" Value="Top" />
        <Setter x:Uid="Setter_161" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_28" TargetType="{x:Type Label}">
                    <Grid x:Uid="Grid_27">
                        <ContentPresenter  x:Uid="ContentPresenter_9" RecognizesAccessKey="True" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_69" Property="IsEnabled" Value="false" />
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_162" Property="Foreground" Value="{DynamicResource TextBrush}" />
    </Style>

    <Style x:Uid="Style_27" TargetType="{x:Type Menu}">
        <Setter x:Uid="Setter_163" Property="Background" Value="{DynamicResource ControlBackgroundBrush}" />
        <Setter x:Uid="Setter_164" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_165" Property="SnapsToDevicePixels" Value="True" />
        <Setter x:Uid="Setter_166" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_29" TargetType="{x:Type Menu}">
                    <Grid x:Uid="Grid_28">
                        <Border x:Uid="Border_29" Margin="1" x:Name="Border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" />
                        <StackPanel x:Uid="StackPanel_3" Background="{TemplateBinding Background}" IsItemsHost="True" ClipToBounds="True" Orientation="Horizontal" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_70" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_167" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border" />
                            <Setter x:Uid="Setter_168" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <DropShadowBitmapEffect x:Uid="DropShadowBitmapEffect_1" x:Key="PopupDropShadow" ShadowDepth="1.5" Softness="0.15" />
    <Style x:Uid="Style_28" TargetType="{x:Type MenuItem}">
        <Setter x:Uid="Setter_169" Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
        <Setter x:Uid="Setter_170" Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
        <Setter x:Uid="Setter_171" Property="Background" Value="Transparent" />
        <Setter x:Uid="Setter_172" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_173" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_30" TargetType="{x:Type MenuItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_75" x:Key="HighlightedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_87" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_90" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_88" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_91" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_76" x:Key="HightlightedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_89" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_92" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_90" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_93" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_30" x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0,0,0,0" Margin="3,2,3,2">
                        <Grid x:Uid="Grid_29" Margin="0,0,0,0">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition x:Uid="ColumnDefinition_9" MinWidth="17" Width="Auto" SharedSizeGroup="MenuItemIconColumnGroup" />
                                <ColumnDefinition x:Uid="ColumnDefinition_10" Width="*" />
                                <ColumnDefinition x:Uid="ColumnDefinition_11" Width="Auto" SharedSizeGroup="MenuItemIGTColumnGroup" />
                                <ColumnDefinition x:Uid="ColumnDefinition_12" Width="14" />
                            </Grid.ColumnDefinitions>
                            <Border x:Uid="Border_31" Grid.Column="0" Grid.ColumnSpan="4" Background="{DynamicResource HoverBrush}" Opacity="0" x:Name="HoverBorder" CornerRadius="1,1,1,1"/>
                            <Border x:Uid="Border_32" Grid.ColumnSpan="4" Background="{DynamicResource HoverShineBrush}" Opacity="0" x:Name="HoverShineBorder" CornerRadius="1,1,1,1"/>
                            <ContentPresenter x:Uid="Icon" Margin="4,0,6,0" x:Name="Icon" VerticalAlignment="Center" ContentSource="Icon" />
                            <Grid x:Uid="GlyphPanel" Visibility="Hidden" Margin="4,0,6,0" x:Name="GlyphPanel" VerticalAlignment="Center">
                                <Path x:Uid="GlyphPanelpath" x:Name="GlyphPanelpath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,2 L0,4.8 L2.5,7.4 L7.1,2.8 L7.1,0 L2.5,4.6 z" FlowDirection="LeftToRight" />
                            </Grid>
                            <ContentPresenter x:Uid="HeaderHost" Grid.Column="1" x:Name="HeaderHost" RecognizesAccessKey="True" ContentSource="Header" Margin="2,1,2,1" />
                            <Grid x:Uid="ArrowPanel" Grid.Column="3" Margin="4,0,6,0" x:Name="ArrowPanel" VerticalAlignment="Center">
                                <Path x:Uid="ArrowPanelPath" x:Name="ArrowPanelPath" VerticalAlignment="Center" Fill="{TemplateBinding Foreground}" Data="M0,0 L0,8 L4,4 z" />
                            </Grid>
                            <Popup x:Uid="SubMenuPopup" IsOpen="{Binding Path=IsSubmenuOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Right" x:Name="SubMenuPopup" Focusable="false" AllowsTransparency="true" PopupAnimation="{DynamicResource {x:Static SystemParameters.MenuPopupAnimationKey}}">
                                <Grid x:Uid="SubMenu" x:Name="SubMenu">
                                    <Border x:Uid="SubMenuBorder" x:Name="SubMenuBorder" Background="{DynamicResource LightBrush}" BorderThickness="1" Opacity="0.8">
                                        <Border.BorderBrush>
                                            <SolidColorBrush x:Uid="SolidColorBrush_18" Color="{DynamicResource WhiteColor}" />
                                        </Border.BorderBrush>
                                    </Border>
                                    <StackPanel x:Uid="StackPanel_4" IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Cycle" />
                                </Grid>
                            </Popup>
                        </Grid>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_71" Property="Role" Value="TopLevelHeader">
                            <Setter x:Uid="Setter_174" Property="Margin" Value="0,1,0,1" />
                            <Setter x:Uid="Setter_175" Property="Padding" Value="6,3,6,3" />
                            <Setter x:Uid="Setter_176" Property="Grid.IsSharedSizeScope" Value="true" />
                            <Setter x:Uid="Setter_177" Property="Placement" Value="Bottom" TargetName="SubMenuPopup" />
                            <Setter x:Uid="Setter_178" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_72" Property="Role" Value="TopLevelItem">
                            <Setter x:Uid="Setter_179" Property="Margin" Value="0,1,0,1" />
                            <Setter x:Uid="Setter_180" Property="Padding" Value="6,3,6,3" />
                            <Setter x:Uid="Setter_181" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_73" Property="Role" Value="SubmenuHeader">
                            <Setter x:Uid="Setter_182" Property="DockPanel.Dock" Value="Top" />
                            <Setter x:Uid="Setter_183" Property="Padding" Value="0,2,0,2" />
                            <Setter x:Uid="Setter_184" Property="Grid.IsSharedSizeScope" Value="true" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_74" Property="Role" Value="SubmenuItem">
                            <Setter x:Uid="Setter_185" Property="DockPanel.Dock" Value="Top" />
                            <Setter x:Uid="Setter_186" Property="Padding" Value="0,2,0,2" />
                            <Setter x:Uid="Setter_187" Property="Visibility" Value="Collapsed" TargetName="ArrowPanel" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_75" Property="IsSuspendingPopupAnimation" Value="true">
                            <Setter x:Uid="Setter_188" Property="PopupAnimation" Value="None" TargetName="SubMenuPopup" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_76" Property="Icon" Value="{x:Null}">
                            <Setter x:Uid="Setter_189" Property="Visibility" Value="Collapsed" TargetName="Icon" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_77" Property="IsChecked" Value="true">
                            <Setter x:Uid="Setter_190" Property="Visibility" Value="Visible" TargetName="GlyphPanel" />
                            <Setter x:Uid="Setter_191" Property="Visibility" Value="Collapsed" TargetName="Icon" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_78" Property="AllowsTransparency" SourceName="SubMenuPopup" Value="true">
                            <Setter x:Uid="Setter_192" Property="Margin" Value="0,0,3,3" TargetName="SubMenu" />
                            <Setter x:Uid="Setter_193" Property="SnapsToDevicePixels" Value="true" TargetName="SubMenu" />
                            <Setter x:Uid="Setter_194" Property="BitmapEffect" Value="{DynamicResource PopupDropShadow}" TargetName="SubMenuBorder" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_79" Property="IsHighlighted" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="HightlightedOff_BeginStoryboard" Storyboard="{StaticResource HightlightedOff}" x:Name="HightlightedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_58" Storyboard="{StaticResource HighlightedOn}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_80" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_195" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_29" TargetType="{x:Type Separator}">
        <Setter x:Uid="Setter_196" Property="Height" Value="1" />
        <Setter x:Uid="Setter_197" Property="Margin" Value="0,2,0,2" />
        <Setter x:Uid="Setter_198" Property="Focusable" Value="false" />
        <Setter x:Uid="Setter_199" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_31" TargetType="{x:Type Separator}">
                    <Border x:Uid="Border_33" BorderBrush="{DynamicResource SolidBorderBrush}" BorderThickness="1" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_30" TargetType="{x:Type TabControl}">
        <Setter x:Uid="Setter_200" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_32" TargetType="{x:Type TabControl}">
                    <Grid x:Uid="Grid_30" ClipToBounds="true" SnapsToDevicePixels="true" KeyboardNavigation.TabNavigation="Local">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition0" x:Name="ColumnDefinition0" />
                            <ColumnDefinition x:Uid="ColumnDefinition1" x:Name="ColumnDefinition1" Width="0" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition0" Height="Auto" x:Name="RowDefinition0" />
                            <RowDefinition x:Uid="RowDefinition1" Height="*" x:Name="RowDefinition1" />
                        </Grid.RowDefinitions>
                        <Border x:Uid="Border_34" CornerRadius="2,2,0,0" Background="{DynamicResource LightBrush}" x:Name="border">
                            <TabPanel x:Uid="HeaderPanel" x:Name="HeaderPanel" IsItemsHost="true" Panel.ZIndex="1" KeyboardNavigation.TabIndex="1" RenderTransformOrigin="0.5,0.5" Width="Auto" Height="Auto">
                                <TabPanel.LayoutTransform>
                                    <TransformGroup x:Uid="TransformGroup_8">
                                        <ScaleTransform x:Uid="ScaleTransform_2" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_2" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_8" Angle="0" />
                                        <TranslateTransform x:Uid="TranslateTransform_3" X="0" Y="0" />
                                    </TransformGroup>
                                </TabPanel.LayoutTransform>
                                <TabPanel.RenderTransform>
                                    <TransformGroup x:Uid="TransformGroup_9">
                                        <ScaleTransform x:Uid="ScaleTransform_3" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_3" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_9" />
                                        <TranslateTransform x:Uid="TranslateTransform_4" X="0" Y="0" />
                                    </TransformGroup>
                                </TabPanel.RenderTransform>

                            </TabPanel>
                        </Border>
                        <Border x:Uid="ContentPanel" x:Name="ContentPanel" Grid.Column="0" Grid.Row="1" KeyboardNavigation.DirectionalNavigation="Contained" KeyboardNavigation.TabIndex="2" KeyboardNavigation.TabNavigation="Local" Background="{DynamicResource ShadeBrush}" CornerRadius="0,0,2,2">
                            <ContentPresenter x:Uid="PART_SelectedContentHost" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" x:Name="PART_SelectedContentHost" ContentSource="SelectedContent" />
                        </Border>
                        <Border x:Uid="border1" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto" Height="Auto" BorderThickness="0,0,0,1" CornerRadius="10,0,0,0" Opacity="0.5" Margin="2,0,2,0" x:Name="border1">
                            <Border.LayoutTransform>
                                <TransformGroup x:Uid="TransformGroup_10">
                                    <ScaleTransform x:Uid="ScaleTransform_4" ScaleX="1" ScaleY="1"/>
                                    <SkewTransform x:Uid="SkewTransform_4" AngleX="0" AngleY="0"/>
                                    <RotateTransform x:Uid="RotateTransform_10" Angle="0"/>
                                    <TranslateTransform x:Uid="TranslateTransform_5" X="0" Y="0"/>
                                </TransformGroup>
                            </Border.LayoutTransform>
                            <Border.BorderBrush>
                                <SolidColorBrush x:Uid="SolidColorBrush_19" Color="{DynamicResource BlackColor}"/>
                            </Border.BorderBrush>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_81" Property="TabStripPlacement" Value="Bottom">
                            <Setter x:Uid="Setter_201" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                            <Setter x:Uid="Setter_202" Property="Height" TargetName="RowDefinition0" Value="*" />
                            <Setter x:Uid="Setter_203" Property="Height" TargetName="RowDefinition1" Value="Auto" />
                            <Setter x:Uid="Setter_204" Property="Grid.Row" TargetName="border" Value="1"/>
                            <Setter x:Uid="Setter_205" Property="CornerRadius" TargetName="ContentPanel" Value="2,2,0,0"/>
                            <Setter x:Uid="Setter_206" Property="CornerRadius" TargetName="border" Value="0,0,2,2"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_82" Property="TabStripPlacement" Value="Left">

                            <Setter x:Uid="Setter_207" Property="Grid.Row" TargetName="HeaderPanel" Value="0" />
                            <Setter x:Uid="Setter_208" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                            <Setter x:Uid="Setter_209" Property="Grid.Column" TargetName="ContentPanel" Value="1" />
                            <Setter x:Uid="Setter_210" Property="Width" TargetName="ColumnDefinition0" Value="Auto" />
                            <Setter x:Uid="Setter_211" Property="Width" TargetName="ColumnDefinition1" Value="*" />
                            <Setter x:Uid="Setter_212" Property="Height" TargetName="RowDefinition0" Value="*" />
                            <Setter x:Uid="Setter_213" Property="Height" TargetName="RowDefinition1" Value="0" />
                            <Setter x:Uid="Setter_214" Property="Grid.Column" TargetName="border" Value="0"/>
                            <Setter x:Uid="Setter_215" Property="Margin" TargetName="border" Value="0,0,0,0"/>
                            <Setter x:Uid="Setter_216" Property="Margin" TargetName="ContentPanel" Value="0,0,0,0"/>
                            <Setter x:Uid="Setter_217" Property="LayoutTransform" TargetName="border1">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_11">
                                        <ScaleTransform x:Uid="ScaleTransform_5" ScaleX="1" ScaleY="1"/>
                                        <SkewTransform x:Uid="SkewTransform_5" AngleX="0" AngleY="0"/>
                                        <RotateTransform x:Uid="RotateTransform_11" Angle="-90"/>
                                        <TranslateTransform x:Uid="TranslateTransform_6" X="0" Y="0"/>
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                            <Setter x:Uid="Setter_218" Property="Margin" TargetName="border1" Value="0,0,0,0"/>
                            <Setter x:Uid="Setter_219" Property="CornerRadius" TargetName="border" Value="0,2,2,0"/>
                            <Setter x:Uid="Setter_220" Property="CornerRadius" TargetName="ContentPanel" Value="0,2,2,0"/>

                        </Trigger>
                        <Trigger x:Uid="Trigger_83" Property="TabStripPlacement" Value="Right">
                            <Setter x:Uid="Setter_221" Property="Grid.Row" TargetName="HeaderPanel" Value="0" />
                            <Setter x:Uid="Setter_222" Property="Grid.Row" TargetName="ContentPanel" Value="0" />
                            <Setter x:Uid="Setter_223" Property="Grid.Column" TargetName="ContentPanel" Value="0" />
                            <Setter x:Uid="Setter_224" Property="Width" TargetName="ColumnDefinition0" Value="*" />
                            <Setter x:Uid="Setter_225" Property="Width" TargetName="ColumnDefinition1" Value="Auto" />
                            <Setter x:Uid="Setter_226" Property="Height" TargetName="RowDefinition0" Value="*" />
                            <Setter x:Uid="Setter_227" Property="Height" TargetName="RowDefinition1" Value="0" />
                            <Setter x:Uid="Setter_228" Property="Grid.Column" TargetName="border" Value="1"/>
                            <Setter x:Uid="Setter_229" Property="LayoutTransform" TargetName="border1">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_12">
                                        <ScaleTransform x:Uid="ScaleTransform_6" ScaleX="1" ScaleY="1"/>
                                        <SkewTransform x:Uid="SkewTransform_6" AngleX="0" AngleY="0"/>
                                        <RotateTransform x:Uid="RotateTransform_12" Angle="90"/>
                                        <TranslateTransform x:Uid="TranslateTransform_7" X="0" Y="0"/>
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                            <Setter x:Uid="Setter_230" Property="Grid.Column" TargetName="border1" Value="1"/>
                            <Setter x:Uid="Setter_231" Property="CornerRadius" TargetName="ContentPanel" Value="2,0,0,2"/>
                            <Setter x:Uid="Setter_232" Property="CornerRadius" TargetName="border" Value="0,2,2,0"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_84" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_233" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_31" d:IsControlPart="True" TargetType="{x:Type TabItem}">
        <Setter x:Uid="Setter_234" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_235" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_33" TargetType="{x:Type TabItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_77" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_91" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_94" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_78" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_92" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_95" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_79" x:Key="SelectedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_93" BeginTime="00:00:00" Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_96" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_80" x:Key="SelectedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_94" BeginTime="00:00:00" Storyboard.TargetName="SelectedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_97" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_31" x:Name="grid" Margin="2,1,2,3">
                        <Grid.LayoutTransform>
                            <TransformGroup x:Uid="TransformGroup_13">
                                <ScaleTransform x:Uid="ScaleTransform_7" ScaleX="1" ScaleY="1"/>
                                <SkewTransform x:Uid="SkewTransform_7" AngleX="0" AngleY="0"/>
                                <RotateTransform x:Uid="RotateTransform_13" Angle="0"/>
                                <TranslateTransform x:Uid="TranslateTransform_8" X="0" Y="0"/>
                            </TransformGroup>
                        </Grid.LayoutTransform>
                        <Border x:Uid="Border_35" x:Name="border" BorderBrush="{x:Null}" CornerRadius="2,2,2,2" Opacity="0.5">
                            <Border.Background>
                                <LinearGradientBrush x:Uid="LinearGradientBrush_9" EndPoint="0.5,0.976" StartPoint="0.5,0.039">
                                    <GradientStop x:Uid="GradientStop_34" Color="#7F595959" Offset="0" />
                                    <GradientStop x:Uid="GradientStop_35" Color="#19FFFFFF" Offset="1" />
                                </LinearGradientBrush>
                            </Border.Background>
                        </Border>
                        <Border x:Uid="SelectedBorder" x:Name="SelectedBorder" BorderBrush="{x:Null}" CornerRadius="2,2,2,2" Opacity="0" Background="{DynamicResource SelectedBackgroundBrush}"/>
                        <Border x:Uid="Border_36" x:Name="HoverBorder" BorderBrush="{x:Null}" CornerRadius="2,2,2,2" Opacity="0">
                            <Border.Background>
                                <LinearGradientBrush x:Uid="LinearGradientBrush_10" EndPoint="0.5,0.976" StartPoint="0.5,0.039">
                                    <GradientStop x:Uid="GradientStop_36" Color="#7F595959" Offset="0" />
                                    <GradientStop x:Uid="GradientStop_37" Color="#19FFFFFF" Offset="1" />
                                </LinearGradientBrush>
                            </Border.Background>
                        </Border>
                        <Grid x:Uid="Grid_32">
                            <ContentPresenter x:Uid="ContentPresenter_10" x:Name="ContentSite" RecognizesAccessKey="True" ContentSource="Header" d:LayoutOverrides="Width, Height" HorizontalAlignment="Center" Margin="6,1,6,1" VerticalAlignment="Center" />
                        </Grid>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_85" Property="TabStripPlacement" Value="Left">
                            <Setter x:Uid="Setter_236" Property="LayoutTransform" TargetName="grid">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_14">
                                        <ScaleTransform x:Uid="ScaleTransform_8" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_8" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_14" Angle="-90" />
                                        <TranslateTransform x:Uid="TranslateTransform_9" X="0" Y="0" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger x:Uid="Trigger_86" Property="TabStripPlacement" Value="Right">
                            <Setter x:Uid="Setter_237" Property="LayoutTransform" TargetName="grid">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_15">
                                        <ScaleTransform x:Uid="ScaleTransform_9" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_9" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_15" Angle="90" />
                                        <TranslateTransform x:Uid="TranslateTransform_10" X="0" Y="0" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <Trigger x:Uid="Trigger_87" Property="TabStripPlacement" Value="Bottom">
                            <Setter x:Uid="Setter_238" Property="LayoutTransform" TargetName="ContentSite">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_16">
                                        <ScaleTransform x:Uid="ScaleTransform_10" ScaleX="1" ScaleY="1" />
                                        <SkewTransform x:Uid="SkewTransform_10" AngleX="0" AngleY="0" />
                                        <RotateTransform x:Uid="RotateTransform_16" Angle="180" />
                                        <TranslateTransform x:Uid="TranslateTransform_11" X="0" Y="0" />
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                            <Setter x:Uid="Setter_239" Property="LayoutTransform" TargetName="grid">
                                <Setter.Value>
                                    <TransformGroup x:Uid="TransformGroup_17">
                                        <ScaleTransform x:Uid="ScaleTransform_11" ScaleX="1" ScaleY="1"/>
                                        <SkewTransform x:Uid="SkewTransform_11" AngleX="0" AngleY="0"/>
                                        <RotateTransform x:Uid="RotateTransform_17" Angle="180"/>
                                        <TranslateTransform x:Uid="TranslateTransform_12" X="0" Y="0"/>
                                    </TransformGroup>
                                </Setter.Value>
                            </Setter>
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_8">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_59" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_60" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_15" Property="IsMouseOver" Value="True" />
                                <Condition x:Uid="Condition_16" Property="Selector.IsSelected" Value="False" />
                            </MultiTrigger.Conditions>
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_88" Property="IsSelected" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_61" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_62" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                            <Setter x:Uid="Setter_240" Property="Panel.ZIndex" Value="100" />
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_9">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_17" Property="IsMouseOver" Value="True" SourceName="grid" />
                                <Condition x:Uid="Condition_18" Property="Selector.IsSelected" Value="True" />
                            </MultiTrigger.Conditions>
                            <Setter x:Uid="Setter_241" Property="Background" TargetName="border" Value="{DynamicResource SelectedBackgroundBrush}" />
                            <Setter x:Uid="Setter_242" Property="Opacity" TargetName="border" Value="0.9" />
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_89" Property="IsEnabled" Value="False">
                            <Setter x:Uid="Setter_243" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                            <Setter x:Uid="Setter_244" Property="Background" TargetName="border" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_245" Property="Opacity" TargetName="grid" Value="0.3"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger x:Uid="Trigger_90" Property="Selector.IsSelected" Value="True">
                <Setter x:Uid="Setter_246" Property="Foreground" >
                    <Setter.Value>
                        <SolidColorBrush x:Uid="SolidColorBrush_20" Color="{DynamicResource BlackColor}"/>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>
    <Style x:Uid="Style_32" x:Key="NuclearSliderThumb" d:IsControlPart="True" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_247" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_248" Property="Height" Value="14" />
        <Setter x:Uid="Setter_249" Property="Width" Value="14" />
        <Setter x:Uid="Setter_250" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_34" TargetType="{x:Type Thumb}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_81" x:Key="HoverOn">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_95" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_98" KeyTime="00:00:00.1000000" Value="1" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_96" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_99" KeyTime="00:00:00.1000000" Value="1" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_82" x:Key="HoverOff">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_97" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_100" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_98" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_101" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_83" x:Key="PressedOn">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_99" BeginTime="00:00:00" Storyboard.TargetName="PressedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_102" KeyTime="00:00:00.1000000" Value="1" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_84" x:Key="PressedOff">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_100" BeginTime="00:00:00" Storyboard.TargetName="PressedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_103" KeyTime="00:00:00.4000000" Value="0" />
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_33">
                        <Border x:Uid="Border_37" x:Name="Background" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" />
                        <Border x:Uid="Border_38" x:Name="HoverBorder" Opacity="0" Background="{StaticResource HoverBrush}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" />
                        <Border x:Uid="Border_39" x:Name="HoverShineBorder" Opacity="0" Background="{StaticResource HoverShineBrush}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" />
                        <Border x:Uid="Border_40" x:Name="PressedBorder" Opacity="0" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" Background="{StaticResource PressedBrush}" />
                        <Border x:Uid="Border_41" x:Name="ShineBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3" Background="{StaticResource ShineBrush}" Opacity="1" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_91" Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_63" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_64" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_92" Property="IsDragging" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_65" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_66" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <Trigger x:Uid="Trigger_93" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_251" Property="Background" TargetName="Background" Value="{DynamicResource DisabledBackgroundBrush}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_252" Property="Background" Value="{DynamicResource NormalBrush}"/>
        <Setter x:Uid="Setter_253" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}"/>
        <Setter x:Uid="Setter_254" Property="BorderThickness" Value="1,1,1,1"/>
    </Style>
    <Style x:Uid="Style_33" TargetType="{x:Type Slider}">
        <Setter x:Uid="Setter_255" Property="Background" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_256" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_257" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_35" TargetType="{x:Type Slider}">
                    <Grid x:Uid="Grid_34" x:Name="GridRoot">
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_10" Height="Auto" />
                            <RowDefinition x:Uid="RowDefinition_11" Height="Auto" MinHeight="{TemplateBinding MinHeight}" />
                            <RowDefinition x:Uid="RowDefinition_12" Height="Auto" />
                        </Grid.RowDefinitions>
                        <TickBar x:Uid="TopTick" Visibility="Collapsed" x:Name="TopTick" Height="4" SnapsToDevicePixels="True" Placement="Top" Fill="{DynamicResource GlyphBrush}" />
                        <Border x:Uid="Border_42" Grid.Row="1" Margin="0" x:Name="Border" Height="4" CornerRadius="2" Background="{DynamicResource LightBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" BorderThickness="1,1,1,1" />
                        <Track x:Uid="Track_1" Grid.Row="1" x:Name="PART_Track">
                            <Track.Thumb>
                                <Thumb x:Uid="Thumb_2" Style="{DynamicResource NuclearSliderThumb}" Background="{DynamicResource NormalBrush}" Foreground="{x:Null}" Width="20" />
                            </Track.Thumb>
                            <Track.IncreaseRepeatButton>
                                <RepeatButton x:Uid="RepeatButton_1" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="Slider.IncreaseLarge" />
                            </Track.IncreaseRepeatButton>
                            <Track.DecreaseRepeatButton>
                                <RepeatButton x:Uid="RepeatButton_2" Style="{DynamicResource NuclearScrollRepeatButtonStyle}" Command="Slider.DecreaseLarge" />
                            </Track.DecreaseRepeatButton>
                        </Track>
                        <TickBar x:Uid="BottomTick" Visibility="Collapsed" Grid.Row="2" x:Name="BottomTick" Height="4" SnapsToDevicePixels="True" Placement="Bottom" Fill="{TemplateBinding Foreground}" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_94" Property="TickPlacement" Value="TopLeft">
                            <Setter x:Uid="Setter_258" Property="Visibility" Value="Visible" TargetName="TopTick" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_95" Property="TickPlacement" Value="BottomRight">
                            <Setter x:Uid="Setter_259" Property="Visibility" Value="Visible" TargetName="BottomTick" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_96" Property="TickPlacement" Value="Both">
                            <Setter x:Uid="Setter_260" Property="Visibility" Value="Visible" TargetName="TopTick" />
                            <Setter x:Uid="Setter_261" Property="Visibility" Value="Visible" TargetName="BottomTick" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_97" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_262" Property="Background" Value="{DynamicResource DisabledBackgroundBrush}" TargetName="Border" />
                            <Setter x:Uid="Setter_263" Property="BorderBrush" Value="{DynamicResource DisabledBorderBrush}" TargetName="Border" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_98" Property="Orientation" Value="Vertical">
                            <Setter x:Uid="Setter_264" Property="LayoutTransform" TargetName="GridRoot">
                                <Setter.Value>
                                    <RotateTransform x:Uid="RotateTransform_18" Angle="-90" />
                                </Setter.Value>
                            </Setter>
                            <Setter x:Uid="Setter_265" TargetName="PART_Track" Property="Orientation" Value="Horizontal" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_34" TargetType="{x:Type TreeView}">
        <Setter x:Uid="Setter_266" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_36" TargetType="{x:Type TreeView}">
                    <Grid x:Uid="Grid_35">
                        <Border x:Uid="Border_43" x:Name="Border" Background="{DynamicResource ControlBackgroundBrush}" BorderBrush="{x:Null}" BorderThickness="1" CornerRadius="3,3,3,3">
                            <ScrollViewer x:Uid="ScrollViewer_6" Style="{DynamicResource NuclearScrollViewer}" Focusable="False" Padding="4" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" CanContentScroll="False" Foreground="{DynamicResource {x:Static SystemColors.ActiveCaptionTextBrushKey}}">
                                <ItemsPresenter x:Uid="ItemsPresenter_1" />
                            </ScrollViewer>
                        </Border>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_35" x:Key="NuclearTreeViewItemToggleButton" d:IsControlPart="True" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_267" Property="Focusable" Value="False" />
        <Setter x:Uid="Setter_268" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_37" TargetType="{x:Type ToggleButton}">
                    <Grid x:Uid="Grid_36" Width="15" Height="13">
                        <Path x:Uid="IsExpandedPath" Visibility="Collapsed" HorizontalAlignment="Left" Margin="1,1,1,1" x:Name="IsExpandedPath" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 0 4 L 8 4 L 4 8 Z" />
                        <Path x:Uid="ExpandPath" HorizontalAlignment="Left" Margin="1,1,1,1" x:Name="ExpandPath" VerticalAlignment="Center" Fill="{DynamicResource GlyphBrush}" Data="M 4 0 L 8 4 L 4 8 Z" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_99" Property="IsChecked" Value="True">
                            <Setter x:Uid="Setter_269" Property="Visibility" Value="Visible" TargetName="IsExpandedPath" />
                            <Setter x:Uid="Setter_270" Property="Visibility" Value="Collapsed" TargetName="ExpandPath" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_36" d:IsControlPart="True" TargetType="{x:Type TreeViewItem}">
        <Style.Triggers>
            <Trigger x:Uid="Trigger_100" Property="IsSelected" Value="True">
                <Setter x:Uid="Setter_271" Property="Foreground">
                    <Setter.Value>
                        <SolidColorBrush x:Uid="SolidColorBrush_21" Color="{DynamicResource BlackColor}"/>
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
        <Setter x:Uid="Setter_272" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_273" Property="Background" Value="Transparent" />
        <Setter x:Uid="Setter_274" Property="HorizontalContentAlignment" Value="{Binding Path=HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
        <Setter x:Uid="Setter_275" Property="VerticalContentAlignment" Value="{Binding Path=VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
        <Setter x:Uid="Setter_276" Property="Padding" Value="1,0,0,0" />
        <Setter x:Uid="Setter_277" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_38" TargetType="{x:Type TreeViewItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_85" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_101" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_104" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_86" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_102" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_105" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_87" x:Key="SelectedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_103" BeginTime="00:00:00" Storyboard.TargetName="SelectionBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_106" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_88" x:Key="SelectedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_104" BeginTime="00:00:00" Storyboard.TargetName="SelectionBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_107" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_37">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition_13" MinWidth="19" Width="Auto" />
                            <ColumnDefinition x:Uid="ColumnDefinition_14" Width="Auto" />
                            <ColumnDefinition x:Uid="ColumnDefinition_15" Width="*" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_13" Height="Auto" />
                            <RowDefinition x:Uid="RowDefinition_14" />
                        </Grid.RowDefinitions>
                        <ToggleButton x:Uid="Expander" x:Name="Expander" Style="{DynamicResource NuclearTreeViewItemToggleButton}" IsChecked="{Binding Path=IsExpanded, RelativeSource={RelativeSource TemplatedParent}}" ClickMode="Press" Background="{x:Null}" BorderBrush="{x:Null}" Foreground="{x:Null}" />
                        <Border x:Uid="Selection_Border" Grid.Column="1" x:Name="Selection_Border" BorderThickness="1,1,1,1" CornerRadius="3,3,3,3">
                            <Grid x:Uid="Grid_38" Width="Auto" Height="Auto">
                                <Border x:Uid="MainBorder" x:Name="MainBorder" Opacity="0.25" Background="{DynamicResource NormalBrush}" CornerRadius="2,2,2,2"/>
                                <Border x:Uid="SelectionBorder" x:Name="SelectionBorder" Opacity="0" Background="{DynamicResource SelectedBackgroundBrush}" CornerRadius="2,2,2,2"/>
                                <Border x:Uid="Border_44" x:Name="HoverBorder" Opacity="0" Background="{DynamicResource NormalBrush}" CornerRadius="2,2,2,2"/>
                                <ContentPresenter x:Uid="PART_Header" x:Name="PART_Header" ContentSource="Header" d:LayoutOverrides="Width" Height="Auto" Margin="2,0,2,0" />
                            </Grid>
                        </Border>
                        <ItemsPresenter x:Uid="ItemsHost" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="1" x:Name="ItemsHost" />
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_101" Property="IsExpanded" Value="false">
                            <Setter x:Uid="Setter_278" Property="Visibility" Value="Collapsed" TargetName="ItemsHost" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_102" Property="HasItems" Value="false">
                            <Setter x:Uid="Setter_279" Property="Visibility" Value="Hidden" TargetName="Expander" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_103" Property="IsSelected" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="SelectedOn_BeginStoryboard1" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOn_BeginStoryboard1"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_67" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_10">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_19" Property="IsSelected" Value="true" />
                                <Condition x:Uid="Condition_20" Property="IsSelectionActive" Value="false" />
                            </MultiTrigger.Conditions>
                            <Setter x:Uid="Setter_280" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" />
                            <Setter x:Uid="Setter_281" Property="Background" TargetName="Selection_Border" Value="{DynamicResource SelectedBackgroundBrush}" />
                            <Setter x:Uid="Setter_282" Property="Opacity" TargetName="Selection_Border" Value="0.5" />
                            <Setter x:Uid="Setter_283" Property="BorderBrush" TargetName="Selection_Border" Value="{DynamicResource NormalBorderBrush}" />
                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_104" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_284" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_11">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_68" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_69" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_21" Property="IsMouseOver" SourceName="Selection_Border" Value="True" />
                                <Condition x:Uid="Condition_22" Property="IsSelected" Value="False" />
                            </MultiTrigger.Conditions>
                        </MultiTrigger>
                        <MultiTrigger x:Uid="MultiTrigger_12">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_23" Property="IsSelected" Value="true" />
                                <Condition x:Uid="Condition_24" Property="IsMouseOver" Value="true" SourceName="Selection_Border" />
                            </MultiTrigger.Conditions>
                            <Setter x:Uid="Setter_285" Property="Background" TargetName="Selection_Border" Value="{DynamicResource SelectedBackgroundBrush}" />
                            <Setter x:Uid="Setter_286" Property="Opacity" TargetName="Selection_Border" Value="0.8" />
                            <Setter x:Uid="Setter_287" Property="BorderBrush" TargetName="Selection_Border" Value="{DynamicResource NormalBorderBrush}" />
                        </MultiTrigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_37" x:Key="ButtonFocusVisual">
        <Setter x:Uid="Setter_288" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_39">
                    <Rectangle x:Uid="Rectangle_35" SnapsToDevicePixels="true" Margin="2" Stroke="Black" StrokeDashArray="1 2" StrokeThickness="1" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_11" x:Key="ButtonNormalBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_38" Color="#F3F3F3" Offset="0" />
        <GradientStop x:Uid="GradientStop_39" Color="#EBEBEB" Offset="0.5" />
        <GradientStop x:Uid="GradientStop_40" Color="#DDDDDD" Offset="0.5" />
        <GradientStop x:Uid="GradientStop_41" Color="#CDCDCD" Offset="1" />
    </LinearGradientBrush>
    <SolidColorBrush x:Uid="SolidColorBrush_22" x:Key="ButtonNormalBorder" Color="#FF707070" />

    <Style x:Uid="Style_38" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_289" Property="FocusVisualStyle" Value="{StaticResource ButtonFocusVisual}" />
        <Setter x:Uid="Setter_290" Property="Background" Value="{StaticResource ButtonNormalBackground}" />
        <Setter x:Uid="Setter_291" Property="BorderBrush" Value="{StaticResource ButtonNormalBorder}" />
        <Setter x:Uid="Setter_292" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_293" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_294" Property="HorizontalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_295" Property="VerticalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_296" Property="Padding" Value="1" />
        <Setter x:Uid="Setter_297" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_40" TargetType="{x:Type ToggleButton}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_89" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_105" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_108" KeyTime="00:00:00.1000000" Value="0.5"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_106" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_109" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_90" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_107" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_110" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_108" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_111" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_91" x:Key="CheckedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_109" BeginTime="00:00:00" Storyboard.TargetName="CheckedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_112" KeyTime="00:00:00.1000000" Value="0.5"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_92" x:Key="CheckedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_110" BeginTime="00:00:00" Storyboard.TargetName="CheckedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_113" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_93" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_111" BeginTime="00:00:00" Storyboard.TargetName="Pressed" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_114" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_94" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_112" BeginTime="00:00:00" Storyboard.TargetName="Pressed" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_115" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_39" x:Name="grid">

                        <Border x:Uid="Border_45" x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" CornerRadius="3,3,3,3" />
                        <Border x:Uid="CheckedBorder" x:Name="CheckedBorder" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" Background="{DynamicResource SelectedBackgroundBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" CornerRadius="3,3,3,3" Opacity="0" />
                        <Border x:Uid="Border_46" x:Name="HoverBorder" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" BorderBrush="{DynamicResource NormalBorderBrush}" CornerRadius="3,3,3,3" Opacity="0" Background="{DynamicResource HoverBrush}" />
                        <Border x:Uid="Border_47" x:Name="HoverShineBorder" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" BorderBrush="{DynamicResource NormalBorderBrush}" CornerRadius="3,3,3,3" Opacity="0" Background="{DynamicResource HoverShineBrush}" />
                        <Border x:Uid="Pressed" x:Name="Pressed" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" BorderBrush="{DynamicResource PressedBorderBrush}" CornerRadius="3,3,3,3" Opacity="0" Background="{DynamicResource PressedBrush}" />
                        <Rectangle x:Uid="Shine" Opacity="1" Stroke="{x:Null}" RadiusX="3" RadiusY="3" Margin="2,2,2,2" VerticalAlignment="Stretch" Height="Auto" x:Name="Shine">
                            <Rectangle.Fill>
                                <LinearGradientBrush x:Uid="LinearGradientBrush_12" EndPoint="0.5,0.971" StartPoint="0.5,0.042">
                                    <GradientStop x:Uid="GradientStop_42" Color="#26FFFFFF" Offset="0" />
                                    <GradientStop x:Uid="GradientStop_43" Color="#00FFFFFF" Offset="1" />
                                    <GradientStop x:Uid="GradientStop_44" Color="#26FFFFFF" Offset="0.467" />
                                    <GradientStop x:Uid="GradientStop_45" Color="#00FFFFFF" Offset="0.475" />
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>

                        <ContentPresenter x:Uid="ContentPresenter_11" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="4,4,4,4" />
                    </Grid>

                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_105" Property="IsMouseOver" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_70" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_71" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_106" Property="IsPressed" Value="True">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_72" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_73" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_107" Property="IsKeyboardFocused" Value="true"/>
                        <Trigger x:Uid="Trigger_108" Property="IsChecked" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_74" Storyboard="{StaticResource CheckedOff}" x:Name="CheckedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_75" Storyboard="{StaticResource CheckedOn}" x:Name="CheckedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_109" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_298" Property="Foreground" Value="#ADADAD" />
                            <Setter x:Uid="Setter_299" Property="Background" TargetName="Border" Value="{DynamicResource DisabledBackgroundBrush}"/>
                            <Setter x:Uid="Setter_300" Property="BorderBrush" TargetName="Border" Value="{DynamicResource DisabledBorderBrush}"/>
                            <Setter x:Uid="Setter_301" Property="Opacity" TargetName="grid" Value="0.5"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger x:Uid="Trigger_110" Property="IsChecked" Value="True">
                <Setter x:Uid="Setter_302" Property="Foreground">
                    <Setter.Value>
                        <SolidColorBrush x:Uid="SolidColorBrush_23" Color="{DynamicResource BlackColor}" />
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>

    <BorderGapMaskConverter x:Uid="BorderGapMaskConverter_1" x:Key="BorderGapMaskConverter" />
    <Style x:Uid="Style_39" TargetType="{x:Type GroupBox}">
        <Setter x:Uid="Setter_303" Property="BorderBrush" Value="#D5DFE5" />
        <Setter x:Uid="Setter_304" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_305" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_41" TargetType="{x:Type GroupBox}">
                    <Grid x:Uid="Grid_40" SnapsToDevicePixels="true">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition_16" Width="6" />
                            <ColumnDefinition x:Uid="ColumnDefinition_17" Width="Auto" />
                            <ColumnDefinition x:Uid="ColumnDefinition_18" Width="*" />
                            <ColumnDefinition x:Uid="ColumnDefinition_19" Width="6" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_15" Height="Auto" />
                            <RowDefinition x:Uid="RowDefinition_16" Height="Auto" />
                            <RowDefinition x:Uid="RowDefinition_17" Height="*" />
                            <RowDefinition x:Uid="RowDefinition_18" Height="6" />
                        </Grid.RowDefinitions>
                        <Border x:Uid="Border_48" Grid.ColumnSpan="4" Grid.RowSpan="4" Background="{DynamicResource LightBrush}" CornerRadius="4,4,4,4" BorderThickness="1,1,1,1" />
                        <Border x:Uid="Border_49" Grid.ColumnSpan="4" Grid.Row="1" Grid.RowSpan="3" BorderThickness="1,1,1,1" CornerRadius="4" BorderBrush="{DynamicResource NormalBorderBrush}">
                            <Border.OpacityMask>
                                <MultiBinding x:Uid="MultiBinding_1" Converter="{StaticResource BorderGapMaskConverter}" ConverterParameter="7">
                                    <Binding x:Uid="Binding_1" Path="ActualWidth" ElementName="Header" />
                                    <Binding x:Uid="Binding_2" Path="ActualWidth" RelativeSource="{RelativeSource Self}" />
                                    <Binding x:Uid="Binding_3" Path="ActualHeight" RelativeSource="{RelativeSource Self}" />
                                </MultiBinding>
                            </Border.OpacityMask>
                            <Border x:Uid="Border_50" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="3">
                                <Border.BorderBrush>
                                    <SolidColorBrush x:Uid="SolidColorBrush_24" Color="{DynamicResource MainColor}" />
                                </Border.BorderBrush>
                                <Border x:Uid="Border_51" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2">
                                    <Border.BorderBrush>
                                        <SolidColorBrush x:Uid="SolidColorBrush_25" Color="{DynamicResource MainColor}" />
                                    </Border.BorderBrush>
                                </Border>
                            </Border>
                        </Border>
                        <Border x:Uid="Border_52" Grid.Column="0" Grid.ColumnSpan="4" Grid.Row="1" Grid.RowSpan="3" Background="{TemplateBinding Background}" BorderBrush="Transparent" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="4" />
                        <Border x:Uid="Main" Grid.ColumnSpan="4" Grid.RowSpan="2" Background="{DynamicResource NormalBrush}" BorderThickness="1,1,1,0" CornerRadius="2,2,0,0" x:Name="Main" BorderBrush="{DynamicResource NormalBorderBrush}" />
                        <Rectangle x:Uid="Rectangle_36" Opacity="1" Stroke="{x:Null}" RadiusX="3" RadiusY="3" VerticalAlignment="Stretch" Height="Auto" x:Name="Shine" Grid.ColumnSpan="4" Grid.RowSpan="2" Margin="1,1,1,1">
                            <Rectangle.Fill>
                                <LinearGradientBrush x:Uid="LinearGradientBrush_13" EndPoint="0.5,0.971" StartPoint="0.5,0.042">
                                    <GradientStop x:Uid="GradientStop_46" Color="#26FFFFFF" Offset="0" />
                                    <GradientStop x:Uid="GradientStop_47" Color="#00FFFFFF" Offset="1" />
                                    <GradientStop x:Uid="GradientStop_48" Color="#26FFFFFF" Offset="0.467" />
                                    <GradientStop x:Uid="GradientStop_49" Color="#00FFFFFF" Offset="0.475" />
                                </LinearGradientBrush>
                            </Rectangle.Fill>
                        </Rectangle>

                        <Border x:Uid="Header" x:Name="Header" Grid.Column="1" Grid.Row="0" Grid.RowSpan="2" Padding="3,1,3,0">
                            <ContentPresenter x:Uid="ContentPresenter_12" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" ContentSource="Header" RecognizesAccessKey="True" Margin="0,4,0,4" />
                        </Border>

                        <ContentPresenter x:Uid="ContentPresenter_13" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="{TemplateBinding Padding}" Grid.Column="1" Grid.ColumnSpan="2" Grid.Row="2" />
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_306" Property="Foreground">
            <Setter.Value>
                <SolidColorBrush x:Uid="SolidColorBrush_26" Color="{DynamicResource WhiteColor}" />
            </Setter.Value>
        </Setter>
    </Style>

    <SolidColorBrush x:Uid="SolidColorBrush_27" x:Key="ListBorder" Color="#828790" />
    <Style x:Uid="Style_40" x:Key="{x:Static GridView.GridViewScrollViewerStyleKey}" TargetType="{x:Type ScrollViewer}">
        <Setter x:Uid="Setter_307" Property="Focusable" Value="false" />
        <Setter x:Uid="Setter_308" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_42" TargetType="{x:Type ScrollViewer}">
                    <Grid x:Uid="Grid_41" SnapsToDevicePixels="true" Background="{TemplateBinding Background}">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition x:Uid="ColumnDefinition_20" Width="*" />
                            <ColumnDefinition x:Uid="ColumnDefinition_21" Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition x:Uid="RowDefinition_19" Height="*" />
                            <RowDefinition x:Uid="RowDefinition_20" Height="Auto" />
                        </Grid.RowDefinitions>
                        <DockPanel x:Uid="DockPanel_1" Margin="{TemplateBinding Padding}">
                            <ScrollViewer x:Uid="ScrollViewer_7" Focusable="false" DockPanel.Dock="Top" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden">
                                <GridViewHeaderRowPresenter x:Uid="GridViewHeaderRowPresenter_1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="2,0,2,0" AllowsColumnReorder="{Binding Path=TemplatedParent.View.AllowsColumnReorder, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderContainerStyle="{Binding Path=TemplatedParent.View.ColumnHeaderContainerStyle, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderContextMenu="{Binding Path=TemplatedParent.View.ColumnHeaderContextMenu, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderTemplate="{Binding Path=TemplatedParent.View.ColumnHeaderTemplate, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderTemplateSelector="{Binding Path=TemplatedParent.View.ColumnHeaderTemplateSelector, RelativeSource={RelativeSource TemplatedParent}}" ColumnHeaderToolTip="{Binding Path=TemplatedParent.View.ColumnHeaderToolTip, RelativeSource={RelativeSource TemplatedParent}}" Columns="{Binding Path=TemplatedParent.View.Columns, RelativeSource={RelativeSource TemplatedParent}}" />

                            </ScrollViewer>
                            <ScrollContentPresenter x:Uid="PART_ScrollContentPresenter" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" x:Name="PART_ScrollContentPresenter" Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" CanContentScroll="{TemplateBinding CanContentScroll}" KeyboardNavigation.DirectionalNavigation="Local" />
                        </DockPanel>
                        <ScrollBar x:Uid="ScrollBar_1" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_HorizontalScrollBar" Grid.Row="1" Orientation="Horizontal" ViewportSize="{TemplateBinding ViewportWidth}" Maximum="{TemplateBinding ScrollableWidth}" Minimum="0.0" Value="{Binding Path=HorizontalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
                        <ScrollBar x:Uid="ScrollBar_2" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Cursor="Arrow" x:Name="PART_VerticalScrollBar" Grid.Column="1" Orientation="Vertical" ViewportSize="{TemplateBinding ViewportHeight}" Maximum="{TemplateBinding ScrollableHeight}" Minimum="0.0" Value="{Binding Path=VerticalOffset, Mode=OneWay, RelativeSource={RelativeSource TemplatedParent}}" />
                        <DockPanel x:Uid="DockPanel_2" Grid.Column="1" Grid.Row="1" Background="{Binding Path=Background, ElementName=PART_VerticalScrollBar}" LastChildFill="false">
                            <Rectangle x:Uid="Rectangle_37" Visibility="{TemplateBinding ComputedVerticalScrollBarVisibility}" Width="1" Fill="White" DockPanel.Dock="Left" />
                            <Rectangle x:Uid="Rectangle_38" Visibility="{TemplateBinding ComputedHorizontalScrollBarVisibility}" Height="1" Fill="White" DockPanel.Dock="Top" />
                        </DockPanel>
                    </Grid>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_41" TargetType="{x:Type ListView}">
        <Setter x:Uid="Setter_309" Property="Background" Value="{DynamicResource {x:Static SystemColors.WindowBrushKey}}" />
        <Setter x:Uid="Setter_310" Property="BorderBrush" Value="{StaticResource ListBorder}" />
        <Setter x:Uid="Setter_311" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_312" Property="Foreground" Value="#FF042271" />
        <Setter x:Uid="Setter_313" Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
        <Setter x:Uid="Setter_314" Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
        <Setter x:Uid="Setter_315" Property="ScrollViewer.CanContentScroll" Value="true" />
        <Setter x:Uid="Setter_316" Property="VerticalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_317" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_43" TargetType="{x:Type ListView}">
                    <Border x:Uid="Bd" x:Name="Bd" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0,0,0,0" BorderBrush="{DynamicResource DefaultedBorderBrush}" Background="{DynamicResource ControlBackgroundBrush}">

                        <ScrollViewer x:Uid="ScrollViewer_8" Padding="{TemplateBinding Padding}" Style="{DynamicResource {x:Static GridView.GridViewScrollViewerStyleKey}}">
                            <ItemsPresenter x:Uid="ItemsPresenter_2" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
                        </ScrollViewer>
                    </Border>

                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_111" Property="IsGrouping" Value="true">
                            <Setter x:Uid="Setter_318" Property="ScrollViewer.CanContentScroll" Value="false" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_112" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_319" Property="Background" TargetName="Bd" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_42" x:Key="ListViewItemFocusVisual">
        <Setter x:Uid="Setter_320" Property="Control.Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_44">
                    <Rectangle x:Uid="Rectangle_39" Stroke="#8E6EA6F5" StrokeThickness="1" RadiusX="2" RadiusY="2" />
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_43" TargetType="{x:Type ListViewItem}">
        <Setter x:Uid="Setter_321" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_322" Property="FocusVisualStyle" Value="{StaticResource ListViewItemFocusVisual}" />
        <Setter x:Uid="Setter_323" Property="Background" Value="Transparent" />
        <Setter x:Uid="Setter_324" Property="BorderBrush" Value="Transparent" />
        <Setter x:Uid="Setter_325" Property="BorderThickness" Value="1" />
        <Setter x:Uid="Setter_326" Property="Margin" Value="0,0,0,1" />
        <Setter x:Uid="Setter_327" Property="Padding" Value="5,2,5,2" />
        <Setter x:Uid="Setter_328" Property="VerticalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_329" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_45" TargetType="{x:Type ListViewItem}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_95" x:Key="HoverOn">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_113" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_116" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_96" x:Key="HoverOff">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_114" BeginTime="00:00:00" Storyboard.TargetName="HoverRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_117" KeyTime="00:00:00.4000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_97" x:Key="SelectedOn">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_115" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_118" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_98" x:Key="SelectedOff">

                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_116" BeginTime="00:00:00" Storyboard.TargetName="SelectedRectangle" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_119" KeyTime="00:00:00.4000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>

                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_99" x:Key="FocussedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_117" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_120" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_100" x:Key="FocussedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_118" BeginTime="00:00:00" Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_121" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Border x:Uid="Border_53" SnapsToDevicePixels="true" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="2" x:Name="border">

                        <Grid x:Uid="Grid_42" Margin="2,0,2,0">
                            <Rectangle x:Uid="Rectangle_40" x:Name="Background" IsHitTestVisible="False" Opacity="0.25" Fill="{StaticResource NormalBrush}" RadiusX="1" RadiusY="1"/>
                            <Rectangle x:Uid="Rectangle_41" x:Name="HoverRectangle" IsHitTestVisible="False" Opacity="0" Fill="{StaticResource NormalBrush}" RadiusX="1" RadiusY="1"/>
                            <Rectangle x:Uid="Rectangle_42" x:Name="SelectedRectangle" IsHitTestVisible="False" Opacity="0" Fill="{StaticResource SelectedBackgroundBrush}" RadiusX="1" RadiusY="1"/>
                            <GridViewRowPresenter x:Uid="GridViewRowPresenter_1" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="0,2,0,2" VerticalAlignment="Stretch" />
                        </Grid>

                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_113" Property="IsSelected" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_76" Storyboard="{StaticResource SelectedOff}" x:Name="SelectedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_77" Storyboard="{StaticResource SelectedOn}" x:Name="SelectedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>

                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_13">
                            <MultiTrigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_78" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </MultiTrigger.ExitActions>
                            <MultiTrigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_79" Storyboard="{StaticResource HoverOn}"/>
                            </MultiTrigger.EnterActions>
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_25" Property="IsMouseOver" Value="True" />
                                <Condition x:Uid="Condition_26" Property="Selector.IsSelected" Value="False" />
                            </MultiTrigger.Conditions>

                        </MultiTrigger>
                        <MultiTrigger x:Uid="MultiTrigger_14">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_27" Property="Selector.IsSelected" Value="True" />
                                <Condition x:Uid="Condition_28" Property="IsMouseOver" Value="True" />
                            </MultiTrigger.Conditions>

                        </MultiTrigger>
                        <Trigger x:Uid="Trigger_114" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_330" Property="Foreground" Value="{DynamicResource DisabledForegroundBrush}" />
                            <Setter x:Uid="Setter_331" Property="Fill" TargetName="Background" Value="{DynamicResource DisabledBackgroundBrush}"/>
                        </Trigger>
                        <MultiTrigger x:Uid="MultiTrigger_15">
                            <MultiTrigger.Conditions>
                                <Condition x:Uid="Condition_29" Property="IsSelected" Value="true" />
                                <Condition x:Uid="Condition_30" Property="Selector.IsSelectionActive" Value="false" />
                            </MultiTrigger.Conditions>


                        </MultiTrigger>

                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger x:Uid="Trigger_115" Property="Selector.IsSelected" Value="True">
                <Setter x:Uid="Setter_332" Property="Foreground">
                    <Setter.Value>
                        <SolidColorBrush x:Uid="SolidColorBrush_28" Color="{DynamicResource BlackColor}" />
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>


    <Style x:Uid="Style_44" x:Key="GridViewColumnHeaderGripper" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_333" Property="Canvas.Right" Value="-8.5" />
        <Setter x:Uid="Setter_334" Property="Width" Value="18" />
        <Setter x:Uid="Setter_335" Property="Height" Value="{Binding Path=ActualHeight, RelativeSource={RelativeSource TemplatedParent}}" />
        <Setter x:Uid="Setter_336" Property="Padding" Value="0,3,0,4" />
        <Setter x:Uid="Setter_337" Property="Background" Value="{DynamicResource LightBrush}" />
        <Setter x:Uid="Setter_338" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_46" TargetType="{x:Type Thumb}">
                    <Border x:Uid="Border_54" Padding="{TemplateBinding Padding}">
                        <Rectangle x:Uid="Rectangle_43" HorizontalAlignment="Center" Width="0.5">
                            <Rectangle.Fill>
                                <SolidColorBrush x:Uid="SolidColorBrush_29" Color="{DynamicResource WhiteColor}" />
                            </Rectangle.Fill>
                        </Rectangle>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <Style x:Uid="Style_45" x:Key="{x:Type GridViewColumnHeader}" TargetType="{x:Type GridViewColumnHeader}">
        <Setter x:Uid="Setter_339" Property="HorizontalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_340" Property="VerticalContentAlignment" Value="Center" />
        <Setter x:Uid="Setter_341" Property="Background" Value="{DynamicResource LightBrush}" />
        <Setter x:Uid="Setter_342" Property="Padding" Value="2,0,2,0" />
        <Setter x:Uid="Setter_343" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_344" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_47" TargetType="{x:Type GridViewColumnHeader}">
                    <ControlTemplate.Resources>
                        <Storyboard x:Uid="Storyboard_101" x:Key="HoverOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_119" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_122" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_120" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_123" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_102" x:Key="HoverOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_121" BeginTime="00:00:00" Storyboard.TargetName="HoverBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_124" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_122" BeginTime="00:00:00" Storyboard.TargetName="HoverShineBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_125" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_103" x:Key="PressedOn">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_123" BeginTime="00:00:00" Storyboard.TargetName="PressedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_126" KeyTime="00:00:00.1000000" Value="1"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                        <Storyboard x:Uid="Storyboard_104" x:Key="PressedOff">
                            <DoubleAnimationUsingKeyFrames x:Uid="DoubleAnimationUsingKeyFrames_124" BeginTime="00:00:00" Storyboard.TargetName="PressedBorder" Storyboard.TargetProperty="(UIElement.Opacity)">
                                <SplineDoubleKeyFrame x:Uid="SplineDoubleKeyFrame_127" KeyTime="00:00:00.3000000" Value="0"/>
                            </DoubleAnimationUsingKeyFrames>
                        </Storyboard>
                    </ControlTemplate.Resources>
                    <Grid x:Uid="Grid_43" Margin="0,1,0,1">
                        <Grid x:Uid="Grid_44">

                            <Border x:Uid="Border_55" x:Name="Main" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" Background="{DynamicResource NormalBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" CornerRadius="0,0,0,0" />
                            <Rectangle x:Uid="Rectangle_44" Opacity="1" Stroke="{x:Null}" RadiusX="0" RadiusY="0" VerticalAlignment="Stretch" Height="Auto" x:Name="Shine" Fill="{DynamicResource ShineBrush}"/>
                            <Border x:Uid="Border_56" x:Name="HoverBorder" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" Background="{DynamicResource HoverBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" CornerRadius="0,0,0,0" Opacity="0" />
                            <Border x:Uid="Border_57" x:Name="HoverShineBorder" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" Background="{DynamicResource HoverShineBrush}" BorderBrush="{DynamicResource NormalBorderBrush}" CornerRadius="0,0,0,0" Opacity="0" />
                            <Border x:Uid="Border_58" x:Name="PressedBorder" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}" Background="{DynamicResource PressedBrush}" BorderBrush="{DynamicResource PressedBorderBrush}" CornerRadius="0,0,0,0" Opacity="0" />

                            <Border x:Uid="Border_59" BorderThickness="{TemplateBinding BorderThickness}" Padding="{TemplateBinding Padding}">
                                <Border.BorderBrush>
                                    <SolidColorBrush x:Uid="SolidColorBrush_30" Color="{DynamicResource WhiteColor}"/>
                                </Border.BorderBrush>
                                <ContentPresenter x:Uid="ContentPresenter_14" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" RecognizesAccessKey="True" Margin="2,2,2,2" />
                            </Border>
                        </Grid>
                        <Canvas x:Uid="Canvas_1">
                            <Thumb x:Uid="PART_HeaderGripper" x:Name="PART_HeaderGripper" Style="{StaticResource GridViewColumnHeaderGripper}" Margin="0,0,7,0" Width="Auto" HorizontalAlignment="Stretch" />
                        </Canvas>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_116" Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_80" Storyboard="{StaticResource HoverOff}" x:Name="HoverOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_81" Storyboard="{StaticResource HoverOn}"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_117" Property="IsPressed" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_82" Storyboard="{StaticResource PressedOff}" x:Name="PressedOff_BeginStoryboard"/>
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard x:Uid="BeginStoryboard_83" Storyboard="{StaticResource PressedOn}" x:Name="PressedOn_BeginStoryboard"/>
                            </Trigger.EnterActions>
                        </Trigger>
                        <Trigger x:Uid="Trigger_118" Property="Height" Value="Auto">
                            <Setter x:Uid="Setter_345" Property="MinHeight" Value="20" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_119" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_346" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_120" Property="Role" Value="Padding">
                            <Setter x:Uid="Setter_347" TargetName="PART_HeaderGripper" Property="Visibility" Value="Collapsed" />
                        </Trigger>
                        <Trigger x:Uid="Trigger_121" Property="Role" Value="Floating">
                            <Setter x:Uid="Setter_348" TargetName="PART_HeaderGripper" Property="Visibility" Value="Collapsed" />
                            <Setter x:Uid="Setter_349" Property="Background" Value="Yellow" />
                            <Setter x:Uid="Setter_350" Property="Foreground" Value="{DynamicResource MouseOverBrush}" />
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

    <Style x:Uid="Style_46" x:Key="{x:Static ToolBar.ButtonStyleKey}" TargetType="{x:Type Button}" BasedOn="{x:Null}">
        <Setter x:Uid="Setter_351" Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}" />
        <Setter x:Uid="Setter_352" Property="Background" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_353" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_354" Property="Template" Value="{DynamicResource ButtonTemplate}" />
        <Setter x:Uid="Setter_355" Property="Foreground" Value="{DynamicResource TextBrush}" />
						<Setter x:Uid="Setter_356" Property="FontSize" Value="10"/>
				<Setter x:Uid="Setter_357" Property="MinHeight" Value="18"/>
				<Setter x:Uid="Setter_358" Property="MinWidth" Value="50"/>
    </Style>

    <Style x:Uid="Style_47" x:Key="{x:Static ToolBar.CheckBoxStyleKey}" TargetType="{x:Type CheckBox}">
			<Setter x:Uid="Setter_359" Property="FontSize" Value="10"/>
        <Setter x:Uid="Setter_360" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_361" Property="FocusVisualStyle" Value="{DynamicResource CheckBoxFocusVisual}" />
        <Setter x:Uid="Setter_362" Property="Background" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_363" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_364" Property="Template" Value="{DynamicResource CheckBoxTemplate}" />
        <Setter x:Uid="Setter_365" Property="Foreground" Value="{DynamicResource TextBrush}" />
    </Style>

    <Style x:Uid="Style_48" x:Key="{x:Static ToolBar.RadioButtonStyleKey}" TargetType="{x:Type RadioButton}">
			<Setter x:Uid="Setter_366" Property="FontSize" Value="10"/>
        <Setter x:Uid="Setter_367" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_368" Property="FocusVisualStyle" Value="{DynamicResource RadioButtonFocusVisual}" />
        <Setter x:Uid="Setter_369" Property="Background" Value="{DynamicResource NormalBrush}" />
        <Setter x:Uid="Setter_370" Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" />
        <Setter x:Uid="Setter_371" Property="Template" Value="{DynamicResource RadioButtonTemplate}" />
        <Setter x:Uid="Setter_372" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Style.Triggers>
            <Trigger x:Uid="Trigger_122" Property="IsEnabled" Value="False">
                <Setter x:Uid="Setter_373" Property="Foreground">
                    <Setter.Value>
                        <SolidColorBrush x:Uid="SolidColorBrush_31" Color="{DynamicResource TopGradientSelectColor}" />
                    </Setter.Value>
                </Setter>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style x:Uid="Style_49" x:Key="{x:Static ToolBar.ComboBoxStyleKey}" TargetType="{x:Type ComboBox}">
			<Setter x:Uid="Setter_374" Property="FontSize" Value="10"/>
        <Setter x:Uid="Setter_375" Property="SnapsToDevicePixels" Value="true" />
        <Setter x:Uid="Setter_376" Property="Template" Value="{DynamicResource ComboBoxTemplate}" />
        <Setter x:Uid="Setter_377" Property="Foreground" Value="{DynamicResource TextBrush}" />
    </Style>

    <Style x:Uid="Style_50" x:Key="{x:Static ToolBar.TextBoxStyleKey}" TargetType="{x:Type TextBox}">
			<Setter x:Uid="Setter_378" Property="FontSize" Value="10"/>
        <Setter x:Uid="Setter_379" Property="KeyboardNavigation.TabNavigation" Value="None" />
        <Setter x:Uid="Setter_380" Property="FocusVisualStyle" Value="{x:Null}" />
        <Setter x:Uid="Setter_381" Property="AllowDrop" Value="true" />
        <Setter x:Uid="Setter_382" Property="Template" Value="{DynamicResource TextBoxTemplate}" />
        <Setter x:Uid="Setter_383" Property="Foreground" Value="{DynamicResource TextBrush}" />
        <Setter x:Uid="Setter_384" Property="Background" Value="{DynamicResource ControlBackgroundBrush}"/>
        <Setter x:Uid="Setter_385" Property="BorderBrush" Value="#FF000000"/>
    </Style>


    <LinearGradientBrush x:Uid="LinearGradientBrush_14" x:Key="ToolBarHorizontalBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_50" Color="#FFFFFF" Offset="0"/>
        <GradientStop x:Uid="GradientStop_51" Color="#FFFBFF" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_52" Color="#F7F7F7" Offset="1"/>
    </LinearGradientBrush>
    <LinearGradientBrush x:Uid="LinearGradientBrush_15" x:Key="ToolBarToggleButtonHorizontalBackground" EndPoint="0,1" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_53" Color="#ECECEC" Offset="0"/>
        <GradientStop x:Uid="GradientStop_54" Color="#DDDDDD" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_55" Color="#A0A0A0" Offset="1"/>
    </LinearGradientBrush>
    <SolidColorBrush x:Uid="SolidColorBrush_32" x:Key="ToolBarButtonHover" Color="{StaticResource MainColor}" />
    <SolidColorBrush x:Uid="SolidColorBrush_33" x:Key="ToolBarGripper" Color="#C6C3C6"/>
    <Style x:Uid="Style_51" x:Key="ToolBarHorizontalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_386" Property="Background" Value="{StaticResource ToolBarToggleButtonHorizontalBackground}"/>
        <Setter x:Uid="Setter_387" Property="MinHeight" Value="0"/>
        <Setter x:Uid="Setter_388" Property="MinWidth" Value="0"/>
        <Setter x:Uid="Setter_389" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_48" TargetType="{x:Type ToggleButton}">
                    <Border x:Uid="Border_60" SnapsToDevicePixels="true" x:Name="Bd" CornerRadius="0,0,0,0" Background="{DynamicResource LightBrush}">
                        <Canvas x:Uid="Canvas_2" SnapsToDevicePixels="true" HorizontalAlignment="Right" Margin="7,2,2,2" VerticalAlignment="Bottom" Width="6" Height="7">
                            <Path x:Uid="Path_7" Stroke="White" Data="M 1 1.5 L 6 1.5"/>
                            <Path x:Uid="Path_8" Stroke="{TemplateBinding Foreground}" Data="M 0 0.5 L 5 0.5"/>
                            <Path x:Uid="Path_9" Fill="White" Data="M 0.5 4 L 6.5 4 L 3.5 7 Z"/>
                            <Path x:Uid="Path_10" Fill="{TemplateBinding Foreground}" Data="M -0.5 3 L 5.5 3 L 2.5 6 Z"/>
                        </Canvas>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_123" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_390" Property="Background" TargetName="Bd" Value="{DynamicResource MouseOverBrush}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_124" Property="IsKeyboardFocused" Value="true">
                            <Setter x:Uid="Setter_391" Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_125" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_392" Property="Foreground" Value="{StaticResource ToolBarGripper}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <SolidColorBrush x:Uid="SolidColorBrush_34" x:Key="ToolBarSubMenuBackground" Color="#FFFDFDFD"/>
    <SolidColorBrush x:Uid="SolidColorBrush_35" x:Key="ToolBarMenuBorder" Color="#FFFFFFFF"/>
    <Style x:Uid="Style_52" x:Key="ToolBarThumbStyle" TargetType="{x:Type Thumb}">
        <Setter x:Uid="Setter_393" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_49" TargetType="{x:Type Thumb}">
                    <Border x:Uid="Border_61" SnapsToDevicePixels="True" Background="Transparent" Padding="{TemplateBinding Padding}" CornerRadius="0,0,0,0">
                        <Rectangle x:Uid="Rectangle_45">
                            <Rectangle.Fill>
                                <DrawingBrush x:Uid="DrawingBrush_1" TileMode="Tile" Viewbox="0,0,4,4" ViewboxUnits="Absolute" Viewport="0,0,4,4" ViewportUnits="Absolute">
                                    <DrawingBrush.Drawing>
                                        <DrawingGroup x:Uid="DrawingGroup_1">
                                            <GeometryDrawing x:Uid="GeometryDrawing_1" Brush="White" Geometry="M 1 1 L 1 3 L 3 3 L 3 1 z"/>
                                            <GeometryDrawing x:Uid="GeometryDrawing_2" Brush="{StaticResource ToolBarGripper}" Geometry="M 0 0 L 0 2 L 2 2 L 2 0 z"/>
                                        </DrawingGroup>
                                    </DrawingBrush.Drawing>
                                </DrawingBrush>
                            </Rectangle.Fill>
                        </Rectangle>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_126" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_394" Property="Cursor" Value="SizeAll"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_16" x:Key="ToolBarToggleButtonVerticalBackground" EndPoint="1,0" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_56" Color="#ECECEC" Offset="0"/>
        <GradientStop x:Uid="GradientStop_57" Color="#DDDDDD" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_58" Color="#A0A0A0" Offset="1"/>
    </LinearGradientBrush>
    <Style x:Uid="Style_53" x:Key="ToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
        <Setter x:Uid="Setter_395" Property="Background" Value="{StaticResource ToolBarToggleButtonVerticalBackground}"/>
        <Setter x:Uid="Setter_396" Property="MinHeight" Value="0"/>
        <Setter x:Uid="Setter_397" Property="MinWidth" Value="0"/>
        <Setter x:Uid="Setter_398" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_50" TargetType="{x:Type ToggleButton}">
                    <Border x:Uid="Border_62" SnapsToDevicePixels="true" x:Name="Bd" Background="{TemplateBinding Background}" CornerRadius="0,0,3,3">
                        <Canvas x:Uid="Canvas_3" SnapsToDevicePixels="true" HorizontalAlignment="Right" Margin="2,7,2,2" VerticalAlignment="Bottom" Width="7" Height="6">
                            <Path x:Uid="Path_11" Stroke="White" Data="M 1.5 1 L 1.5 6"/>
                            <Path x:Uid="Path_12" Stroke="{TemplateBinding Foreground}" Data="M 0.5 0 L 0.5 5"/>
                            <Path x:Uid="Path_13" Fill="White" Data="M 3.5 0.5 L 7 3.5 L 4 6.5 Z"/>
                            <Path x:Uid="Path_14" Fill="{TemplateBinding Foreground}" Data="M 3 -0.5 L 6 2.5 L 3 5.5 Z"/>
                        </Canvas>
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_127" Property="IsMouseOver" Value="true">
                            <Setter x:Uid="Setter_399" Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_128" Property="IsKeyboardFocused" Value="true">
                            <Setter x:Uid="Setter_400" Property="Background" TargetName="Bd" Value="{StaticResource ToolBarButtonHover}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_129" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_401" Property="Foreground" Value="{StaticResource ToolBarGripper}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
    <LinearGradientBrush x:Uid="LinearGradientBrush_17" x:Key="ToolBarVerticalBackground" EndPoint="1,0" StartPoint="0,0">
        <GradientStop x:Uid="GradientStop_59" Color="#FFFFFF" Offset="0"/>
        <GradientStop x:Uid="GradientStop_60" Color="#FFFBFF" Offset="0.5"/>
        <GradientStop x:Uid="GradientStop_61" Color="#F7F7F7" Offset="1"/>
    </LinearGradientBrush>
    <Style x:Uid="Style_54" TargetType="{x:Type ToolBar}">
        <Setter x:Uid="Setter_402" Property="Background" Value="{StaticResource ToolBarHorizontalBackground}"/>
        <Setter x:Uid="Setter_403" Property="Template">
            <Setter.Value>
                <ControlTemplate x:Uid="ControlTemplate_51" TargetType="{x:Type ToolBar}">
                    <Grid x:Uid="Grid_45" SnapsToDevicePixels="true" Margin="3,1,1,1" x:Name="Grid">
                        <Grid x:Uid="OverflowGrid" HorizontalAlignment="Right" x:Name="OverflowGrid">
                            <ToggleButton x:Uid="OverflowButton" IsEnabled="{TemplateBinding HasOverflowItems}" FocusVisualStyle="{x:Null}" x:Name="OverflowButton" Style="{StaticResource ToolBarHorizontalOverflowButtonStyle}" ClickMode="Press" IsChecked="{Binding Path=IsOverflowOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"/>
                            <Popup x:Uid="OverflowPopup" Focusable="false" AllowsTransparency="true" IsOpen="{Binding Path=IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}" Placement="Bottom" PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}" StaysOpen="False" x:Name="OverflowPopup">
                                <Border x:Uid="Shdw" x:Name="Shdw">
                                    <Border x:Uid="Border_63" BorderThickness="1,1,1,1" Background="{DynamicResource LightBrush}" BorderBrush="{DynamicResource LightBrush}">
                                        <ToolBarOverflowPanel x:Uid="PART_ToolBarOverflowPanel" Focusable="true" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" FocusVisualStyle="{x:Null}" Margin="2" x:Name="PART_ToolBarOverflowPanel" WrapWidth="200" KeyboardNavigation.DirectionalNavigation="Cycle" KeyboardNavigation.TabNavigation="Cycle"/>
                                    </Border>
                                </Border>
                            </Popup>
                        </Grid>
                        <Border x:Uid="MainPanelBorder" Margin="0,0,11,0" x:Name="MainPanelBorder" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="0,0,0,0" Padding="{TemplateBinding Padding}" Background="{DynamicResource NormalBorderBrush}">
                            <Grid x:Uid="Grid_46">

                                <DockPanel x:Uid="DockPanel_3" KeyboardNavigation.TabIndex="1" KeyboardNavigation.TabNavigation="Local">
                                    <Thumb x:Uid="ToolBarThumb" Padding="6,5,1,6" Margin="-3,-1,0,0" x:Name="ToolBarThumb" Style="{StaticResource ToolBarThumbStyle}" Width="10"/>
                                    <ContentPresenter x:Uid="ToolBarHeader" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" HorizontalAlignment="Center" Margin="4,0,4,0" x:Name="ToolBarHeader" VerticalAlignment="Center" ContentSource="Header"/>
                                    <ToolBarPanel x:Uid="PART_ToolBarPanel" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" Margin="0,1,2,2" x:Name="PART_ToolBarPanel" IsItemsHost="true" Background="{DynamicResource NormalBrush}"/>
                                </DockPanel>
                                <Rectangle x:Uid="Rectangle_46" IsHitTestVisible="False" Opacity="0.15" VerticalAlignment="Top" Height="13.995" Grid.ColumnSpan="1" Margin="0,0,2,0">
                                    <Rectangle.Fill>
                                        <SolidColorBrush x:Uid="SolidColorBrush_36" Color="{DynamicResource WhiteColor}"/>
                                    </Rectangle.Fill>
                                </Rectangle>
                            </Grid>
                        </Border>
                    </Grid>
                    <ControlTemplate.Triggers>
                        <Trigger x:Uid="Trigger_130" Property="IsOverflowOpen" Value="true">
                            <Setter x:Uid="Setter_404" Property="IsEnabled" TargetName="ToolBarThumb" Value="false"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_131" Property="Header" Value="{x:Null}">
                            <Setter x:Uid="Setter_405" Property="Visibility" TargetName="ToolBarHeader" Value="Collapsed"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_132" Property="ToolBarTray.IsLocked" Value="true">
                            <Setter x:Uid="Setter_406" Property="Visibility" TargetName="ToolBarThumb" Value="Collapsed"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_133" Property="HasDropShadow" SourceName="OverflowPopup" Value="true">
                            <Setter x:Uid="Setter_407" Property="Margin" TargetName="Shdw" Value="0,0,5,5"/>
                            <Setter x:Uid="Setter_408" Property="SnapsToDevicePixels" TargetName="Shdw" Value="true"/>
                            <Setter x:Uid="Setter_409" Property="Background" TargetName="Shdw" Value="#71000000"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_134" Property="Orientation" Value="Vertical">
                            <Setter x:Uid="Setter_410" Property="Margin" TargetName="Grid" Value="1,3,1,1"/>
                            <Setter x:Uid="Setter_411" Property="Style" TargetName="OverflowButton" Value="{StaticResource ToolBarVerticalOverflowButtonStyle}"/>
                            <Setter x:Uid="Setter_412" Property="Height" TargetName="ToolBarThumb" Value="10"/>
                            <Setter x:Uid="Setter_413" Property="Width" TargetName="ToolBarThumb" Value="Auto"/>
                            <Setter x:Uid="Setter_414" Property="Margin" TargetName="ToolBarThumb" Value="-1,-3,0,0"/>
                            <Setter x:Uid="Setter_415" Property="Padding" TargetName="ToolBarThumb" Value="5,6,6,1"/>
                            <Setter x:Uid="Setter_416" Property="Margin" TargetName="ToolBarHeader" Value="0,0,0,4"/>
                            <Setter x:Uid="Setter_417" Property="Margin" TargetName="PART_ToolBarPanel" Value="1,0,2,2"/>
                            <Setter x:Uid="Setter_418" Property="DockPanel.Dock" TargetName="ToolBarThumb" Value="Top"/>
                            <Setter x:Uid="Setter_419" Property="DockPanel.Dock" TargetName="ToolBarHeader" Value="Top"/>
                            <Setter x:Uid="Setter_420" Property="HorizontalAlignment" TargetName="OverflowGrid" Value="Stretch"/>
                            <Setter x:Uid="Setter_421" Property="VerticalAlignment" TargetName="OverflowGrid" Value="Bottom"/>
                            <Setter x:Uid="Setter_422" Property="Placement" TargetName="OverflowPopup" Value="Right"/>
                            <Setter x:Uid="Setter_423" Property="Margin" TargetName="MainPanelBorder" Value="0,0,0,11"/>
                            <Setter x:Uid="Setter_424" Property="Background" Value="{StaticResource ToolBarVerticalBackground}"/>
                        </Trigger>
                        <Trigger x:Uid="Trigger_135" Property="IsEnabled" Value="false">
                            <Setter x:Uid="Setter_425" Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Setter x:Uid="Setter_426" Property="Foreground" Value="{DynamicResource TextBrush}" />
    </Style>

</ResourceDictionary>




